I want to customize the user interface of Jitsi Meet. I want to remove the "Invite others" option located at the center bottom. How can I do that in Android Studio using java?
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_event_details);
try {
JitsiMeetConferenceOptions options = new JitsiMeetConferenceOptions.Builder()
.setServerURL(new URL(""))
.setWelcomePageEnabled(false)
.setConfigOverride("requireDisplayName", true)
.setConfigOverride("reqiureInviteOthers", false)
.build();
} catch (MalformedURLException e) {
e.printStackTrace();
}
public void onClickMeet(View v) {
EditText editText = findViewById(R.id.meetId);
String text = editText.getText().toString();
if (text.length() > 0) {
JitsiMeetConferenceOptions options = new JitsiMeetConferenceOptions.Builder().setRoom(text).build();
JitsiMeetActivity.launch(this, options);
}
}
You can follow this thread for custom UI implementation in android and for more attention you can post on jitsi community. Thanks.
JitsiMeetConferenceOptions.Builder builder = new JitsiMeetConferenceOptions.Builder();
builder.setFeatureFlag("invite.enabled",false);
JitsiMeetConferenceOptions options = new JitsiMeetConferenceOptions.Builder()
.setServerURL(new URL(""))
.setWelcomePageEnabled(false)
.setConfigOverride("requireDisplayName", true)
.setConfigOverride("reqiureInviteOthers", false)
.setFeatureFlag("invite.enabled", false)// <-- add this line
.setFeatureFlag("add-people.enabled", false)// <-- add this line
.build();
this is the list of available feature flags that you can turn on or off Jitsi Features
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.