Browse Source

[Android] Add an example for loadURLObject

master
Saúl Ibarra Corretgé 7 years ago
parent
commit
d00ee3d7b6
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      android/README.md

+ 12
- 0
android/README.md View File

131
 constructing the URL away from API clients/consumers. If the specified URL is
131
 constructing the URL away from API clients/consumers. If the specified URL is
132
 null and the Welcome page is enabled, the Welcome page is displayed instead.
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
 #### setListener(listener)
146
 #### setListener(listener)
135
 
147
 
136
 Sets the given listener (class implementing the `JitsiMeetViewListener`
148
 Sets the given listener (class implementing the `JitsiMeetViewListener`

Loading…
Cancel
Save