|
|
@@ -45,11 +45,6 @@ public class JitsiMeetConferenceOptions implements Parcelable {
|
|
45
|
45
|
*/
|
|
46
|
46
|
private String token;
|
|
47
|
47
|
|
|
48
|
|
- /**
|
|
49
|
|
- * Color scheme override, see: https://github.com/jitsi/jitsi-meet/blob/dbedee5e22e5dcf9c92db96ef5bb3c9982fc526d/react/features/base/color-scheme/defaultScheme.js
|
|
50
|
|
- */
|
|
51
|
|
- private Bundle colorScheme;
|
|
52
|
|
-
|
|
53
|
48
|
/**
|
|
54
|
49
|
* Config. See: https://github.com/jitsi/jitsi-meet/blob/master/config.js
|
|
55
|
50
|
*/
|
|
|
@@ -77,10 +72,6 @@ public class JitsiMeetConferenceOptions implements Parcelable {
|
|
77
|
72
|
return token;
|
|
78
|
73
|
}
|
|
79
|
74
|
|
|
80
|
|
- public Bundle getColorScheme() {
|
|
81
|
|
- return colorScheme;
|
|
82
|
|
- }
|
|
83
|
|
-
|
|
84
|
75
|
public Bundle getFeatureFlags() {
|
|
85
|
76
|
return featureFlags;
|
|
86
|
77
|
}
|
|
|
@@ -97,7 +88,6 @@ public class JitsiMeetConferenceOptions implements Parcelable {
|
|
97
|
88
|
private String room;
|
|
98
|
89
|
private String token;
|
|
99
|
90
|
|
|
100
|
|
- private Bundle colorScheme;
|
|
101
|
91
|
private Bundle config;
|
|
102
|
92
|
private Bundle featureFlags;
|
|
103
|
93
|
|
|
|
@@ -152,19 +142,6 @@ public class JitsiMeetConferenceOptions implements Parcelable {
|
|
152
|
142
|
return this;
|
|
153
|
143
|
}
|
|
154
|
144
|
|
|
155
|
|
- /**
|
|
156
|
|
- * Sets the color scheme override so the app is themed. See:
|
|
157
|
|
- * https://github.com/jitsi/jitsi-meet/blob/master/react/features/base/color-scheme/defaultScheme.js
|
|
158
|
|
- * for the structure.
|
|
159
|
|
- * @param colorScheme - A color scheme to be applied to the app.
|
|
160
|
|
- * @return - The {@link Builder} object itself so the method calls can be chained.
|
|
161
|
|
- */
|
|
162
|
|
- public Builder setColorScheme(Bundle colorScheme) {
|
|
163
|
|
- this.colorScheme = colorScheme;
|
|
164
|
|
-
|
|
165
|
|
- return this;
|
|
166
|
|
- }
|
|
167
|
|
-
|
|
168
|
145
|
/**
|
|
169
|
146
|
* Indicates the conference will be joined with the microphone muted.
|
|
170
|
147
|
* @param audioMuted - Muted indication.
|
|
|
@@ -276,7 +253,6 @@ public class JitsiMeetConferenceOptions implements Parcelable {
|
|
276
|
253
|
options.serverURL = this.serverURL;
|
|
277
|
254
|
options.room = this.room;
|
|
278
|
255
|
options.token = this.token;
|
|
279
|
|
- options.colorScheme = this.colorScheme;
|
|
280
|
256
|
options.config = this.config;
|
|
281
|
257
|
options.featureFlags = this.featureFlags;
|
|
282
|
258
|
options.userInfo = this.userInfo;
|
|
|
@@ -292,7 +268,6 @@ public class JitsiMeetConferenceOptions implements Parcelable {
|
|
292
|
268
|
serverURL = (URL) in.readSerializable();
|
|
293
|
269
|
room = in.readString();
|
|
294
|
270
|
token = in.readString();
|
|
295
|
|
- colorScheme = in.readBundle();
|
|
296
|
271
|
config = in.readBundle();
|
|
297
|
272
|
featureFlags = in.readBundle();
|
|
298
|
273
|
userInfo = new JitsiMeetUserInfo(in.readBundle());
|
|
|
@@ -308,10 +283,6 @@ public class JitsiMeetConferenceOptions implements Parcelable {
|
|
308
|
283
|
|
|
309
|
284
|
props.putBundle("flags", featureFlags);
|
|
310
|
285
|
|
|
311
|
|
- if (colorScheme != null) {
|
|
312
|
|
- props.putBundle("colorScheme", colorScheme);
|
|
313
|
|
- }
|
|
314
|
|
-
|
|
315
|
286
|
Bundle urlProps = new Bundle();
|
|
316
|
287
|
|
|
317
|
288
|
// The room is fully qualified
|
|
|
@@ -360,7 +331,6 @@ public class JitsiMeetConferenceOptions implements Parcelable {
|
|
360
|
331
|
dest.writeSerializable(serverURL);
|
|
361
|
332
|
dest.writeString(room);
|
|
362
|
333
|
dest.writeString(token);
|
|
363
|
|
- dest.writeBundle(colorScheme);
|
|
364
|
334
|
dest.writeBundle(config);
|
|
365
|
335
|
dest.writeBundle(featureFlags);
|
|
366
|
336
|
dest.writeBundle(userInfo != null ? userInfo.asBundle() : new Bundle());
|