Skip to content

Commit

Permalink
add WindowParams polling
Browse files Browse the repository at this point in the history
  • Loading branch information
AderanFeng committed Feb 1, 2024
1 parent a85b126 commit c850a26
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 23 deletions.
2 changes: 1 addition & 1 deletion carrot.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- name: whiteboard-bridge
repoPath: ../whiteboard-bridge
repoURL: 'https://github.com/netless-io/whiteboard-bridge.git'
commit: 55b0a29
commit: a737ce1
File renamed without changes.
2 changes: 1 addition & 1 deletion sdk/src/main/assets/whiteboard/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0" name="viewport"/><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>white-sdk-bridge Application</title><script defer="defer" src="runtime.94c1d79a.js"></script><script defer="defer" src="web-sdk.ce359a0f.js"></script><script defer="defer" src="netless.1d95ce3a.js"></script><script defer="defer" src="video.16e43ef6.js"></script><script defer="defer" src="vendor.79e249f2.js"></script><script defer="defer" src="main.b6d8581b.js"></script><link href="netless.css" rel="stylesheet"><link href="vendor.css" rel="stylesheet"><link href="main.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0" name="viewport"/><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>white-sdk-bridge Application</title><script defer="defer" src="runtime.94c1d79a.js"></script><script defer="defer" src="web-sdk.ce359a0f.js"></script><script defer="defer" src="netless.9d50552a.js"></script><script defer="defer" src="video.16e43ef6.js"></script><script defer="defer" src="vendor.79e249f2.js"></script><script defer="defer" src="main.b6d8581b.js"></script><link href="netless.css" rel="stylesheet"><link href="vendor.css" rel="stylesheet"><link href="main.css" rel="stylesheet"></head><body><div id="root"></div></body></html>

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions sdk/src/main/java/com/herewhite/sdk/domain/WindowParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ public class WindowParams extends WhiteObject {
*/
private Boolean fullscreen;

private Boolean polling;

public Float getContainerSizeRatio() {
return containerSizeRatio;
}
Expand Down Expand Up @@ -95,4 +97,12 @@ public WindowParams setFullscreen(Boolean fullscreen) {
this.fullscreen = fullscreen;
return this;
}

public Boolean getPolling() {
return polling;
}

public void setPolling(Boolean polling) {
this.polling = polling;
}
}

0 comments on commit c850a26

Please sign in to comment.