浏览代码

[Android] Add an example for loadURLObject

master
Saúl Ibarra Corretgé 7 年前
父节点
当前提交
d00ee3d7b6
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12
    0
      android/README.md

+ 12
- 0
android/README.md 查看文件

@@ -131,6 +131,18 @@ sufficient to construct a URL (string) while (2) abstracting the specifics of
131 131
 constructing the URL away from API clients/consumers. If the specified URL is
132 132
 null and the Welcome page is enabled, the Welcome page is displayed instead.
133 133
 
134
+Example:
135
+
136
+```java
137
+Bundle configOverwrite = new Bundle();
138
+configOverwrite.putBoolean("startWithAudioMuted", true);
139
+configOverwrite.putBoolean("startWithVideoMuted", false);
140
+Bundle urlBundle = new Bundle();
141
+urlBundle.putBundle("configOverwrite", configOverwrite);
142
+urlBundle.putString("url", "https://meet.jit.si/Test123");
143
+view.loadURLObject(urlBundle);
144
+```
145
+
134 146
 #### setListener(listener)
135 147
 
136 148
 Sets the given listener (class implementing the `JitsiMeetViewListener`

正在加载...
取消
保存