public class MediaOption
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MediaOption.CompositedVideoLayout
The video layout for the active speaker and other attendees in the group video meeting.
|
static class |
MediaOption.VideoLayout
Deprecated.
please use
MediaOption.CompositedVideoLayout |
| Modifier and Type | Method and Description |
|---|---|
static MediaOption |
audioOnly()
Constructs an audio only media option.
|
static MediaOption |
audioVideo(android.util.Pair<android.view.View,android.view.View> videoRenderViews)
Constructs an audio and video media option.
|
static MediaOption |
audioVideo(android.view.View localView,
android.view.View remoteView)
Constructs an audio and video media option.
|
static MediaOption |
audioVideoSharing(android.util.Pair<android.view.View,android.view.View> videoRenderViews,
android.view.View sharingView)
Constructs an audio/video and share media option.
|
MediaOption.CompositedVideoLayout |
getCompositedVideoLayout()
Returns the video layout of the active speaker and other attendees for the group video call.
|
MediaOption.CompositedVideoLayout |
getLayout()
Deprecated.
please use
getCompositedVideoLayout() |
android.view.View |
getLocalView() |
java.lang.String |
getPin()
If join as moderator, PIN should be a host key, else PIN should be a meeting password.
|
android.view.View |
getRemoteView() |
android.view.View |
getSharingView() |
boolean |
hasSharing()
Whether content sharing is enabled.
|
boolean |
hasVideo()
Whether video is enabled.
|
boolean |
isModerator()
If true, join the meeting as a moderator.
|
void |
setCompositedVideoLayout(MediaOption.CompositedVideoLayout compositedLayout)
Set the video layout of the active speaker and other attendees for the group video call.
|
void |
setLayout(MediaOption.CompositedVideoLayout layout)
Deprecated.
|
void |
setModerator(boolean moderator)
If true, join the meeting as a moderator.
|
void |
setPin(java.lang.String pin)
If join as moderator, PIN should be a host key, else PIN should be a meeting password.
|
public static MediaOption audioOnly()
public static MediaOption audioVideo(@NonNull android.view.View localView, @NonNull android.view.View remoteView)
localView - Video view for self.remoteView - Video view for remotepublic static MediaOption audioVideo(@Nullable android.util.Pair<android.view.View,android.view.View> videoRenderViews)
videoRenderViews - Local video view and remote video view.public static MediaOption audioVideoSharing(@Nullable android.util.Pair<android.view.View,android.view.View> videoRenderViews, @Nullable android.view.View sharingView)
videoRenderViews - Local video view and remote video view.sharingView - share view for remote.public boolean hasVideo()
public boolean hasSharing()
public android.view.View getRemoteView()
public android.view.View getLocalView()
public android.view.View getSharingView()
public MediaOption.CompositedVideoLayout getLayout()
getCompositedVideoLayout()public MediaOption.CompositedVideoLayout getCompositedVideoLayout()
public void setLayout(MediaOption.CompositedVideoLayout layout)
setCompositedVideoLayout(CompositedVideoLayout)public void setCompositedVideoLayout(MediaOption.CompositedVideoLayout compositedLayout)
public boolean isModerator()
public void setModerator(boolean moderator)
public java.lang.String getPin()
public void setPin(java.lang.String pin)