From d00ee3d7b6f74f109be74a1a4bd345d7d82dc0ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Fri, 28 Jul 2017 14:35:19 +0200 Subject: [PATCH] [Android] Add an example for loadURLObject --- android/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/android/README.md b/android/README.md index 1a8d461cd..fe2a30049 100644 --- a/android/README.md +++ b/android/README.md @@ -131,6 +131,18 @@ sufficient to construct a URL (string) while (2) abstracting the specifics of constructing the URL away from API clients/consumers. If the specified URL is null and the Welcome page is enabled, the Welcome page is displayed instead. +Example: + +```java +Bundle configOverwrite = new Bundle(); +configOverwrite.putBoolean("startWithAudioMuted", true); +configOverwrite.putBoolean("startWithVideoMuted", false); +Bundle urlBundle = new Bundle(); +urlBundle.putBundle("configOverwrite", configOverwrite); +urlBundle.putString("url", "https://meet.jit.si/Test123"); +view.loadURLObject(urlBundle); +``` + #### setListener(listener) Sets the given listener (class implementing the `JitsiMeetViewListener`