public interface MeetingService
Modifier and Type | Field and Description |
---|---|
static int |
USER_TYPE_API_USER
API user.
|
static int |
USER_TYPE_FACEBOOK
User logins with Facebook account.
|
static int |
USER_TYPE_GOOGLE_OAUTH
User logins with Google authentication.
|
static int |
USER_TYPE_SSO
Single-sign-on user.
|
static int |
USER_TYPE_UNKNOWN
Unknown user type.
|
static int |
USER_TYPE_ZOOM
User logins with working email.
|
Modifier and Type | Method and Description |
---|---|
void |
addDialOutListener(DialOutStatusListener listener)
Register a listener for outgoing call status.
|
void |
addListener(MeetingServiceListener listener)
Register a listener for meeting service.
|
boolean |
cancelDialOut(boolean isCallMe)
Cancel to invite user by telephone.
|
void |
configDSCP(int audio,
int video,
boolean reset)
Configure DSCP(Differentiated Services Code Point) values.
|
boolean |
dialOutUser(java.lang.String number,
java.lang.String userName,
boolean isCallMe)
Invite user by telephone.
|
java.lang.String |
getCurrentMeetingUrl()
Get the URL of the current meeting.
|
java.lang.String |
getCurrentRtcMeetingID()
Get the unique ID of current meeting, in format like DVLObefSZizM0xQLhtrCQ==
|
long |
getCurrentRtcMeetingNumber()
Get current meeting number, in format like 123456789.
|
InviteRoomSystemHelper |
getInviteRoomSystemHelper()
Get the instance of
InviteRoomSystemHelper . |
MeetingStatus |
getMeetingStatus()
Get the current meeting status.
|
boolean |
handZoomWebUrl(java.lang.String meetingUrl)
Start or join a ZOOM meeting with zoom web url
|
boolean |
isCurrentMeetingHost()
Query if the current user is meeting host.
|
boolean |
isCurrentMeetingLocked()
Query if the current meeting is locked.
|
boolean |
isDialOutInProgress()
Query if the outgoing call is in progress at the moment.
|
boolean |
isDialoutSupported()
Query if it is able to dial out in the current meeting.
|
boolean |
isInviteRoomSystemSupported()
Query if it is able to invite room system in the current meeting.
|
int |
joinMeetingWithParams(android.content.Context context,
JoinMeetingParams param,
JoinMeetingOptions opts)
Start a ZOOM meeting with specified arguments.
|
void |
leaveCurrentMeeting(boolean endIfPossible)
Leave the current meeting.
|
void |
notifyVideoConfInstanceDestroyed()
notify conf is destroyed
|
void |
pauseCurrentMeeting()
Pause the current meeting and mute microphone and speaker.
|
void |
removeDialOutListener(DialOutStatusListener listener)
Unregister the listener.
|
void |
removeListener(MeetingServiceListener listener)
Unregister the listener.
|
void |
removeMeetingNotification(android.content.Context context)
Remove the notification of meeting.
|
void |
resumeCurrentMeeting()
Resume the current meeting.
|
void |
returnToMeeting(android.content.Context context)
Place the meeting window to foreground.
|
int |
startInstantMeeting(android.content.Context context,
MeetingOptions opts)
Start a ZOOM meeting with specified arguments for logged-in user.
|
int |
startMeetingWithParams(android.content.Context context,
StartMeetingParams param,
MeetingOptions opts)
Start a ZOOM meeting with specified parameters.
|
boolean |
tryRetrieveMicrophone()
Try to retrieve microphone in the meeting
|
static final int USER_TYPE_API_USER
static final int USER_TYPE_ZOOM
static final int USER_TYPE_FACEBOOK
static final int USER_TYPE_GOOGLE_OAUTH
static final int USER_TYPE_SSO
static final int USER_TYPE_UNKNOWN
void addListener(MeetingServiceListener listener)
listener
- The listener instance.void removeListener(MeetingServiceListener listener)
listener
- The listener instance.void addDialOutListener(DialOutStatusListener listener)
listener
- The listener instance.void removeDialOutListener(DialOutStatusListener listener)
listener
- The listener instance.int startMeetingWithParams(android.content.Context context, StartMeetingParams param, MeetingOptions opts)
context
- Android context.param
- Parameters for starting a meeting, such as StartMeetingParams4NormalUser
,StartMeetingParamsWithoutLogin
.opts
- Other options. It should be an instance of StartMeetingOptions. Default options will be enabled if it is null.MeetingError
.int startInstantMeeting(android.content.Context context, MeetingOptions opts)
context
- Android context.opts
- Other options. It should be an instance of MeetingOptions or InstantMeetingOptions. Default options will be enabled if it is null.MeetingError
.int joinMeetingWithParams(android.content.Context context, JoinMeetingParams param, JoinMeetingOptions opts)
context
- Android context.param
- Parameters to join meeting, see JoinMeetingParams
.opts
- Other options. It should be an instance of JoinMeetingOptions
. Default options will be enabled if it is null.MeetingError
boolean handZoomWebUrl(java.lang.String meetingUrl)
meetingUrl
- zoom web meeting urlMeetingStatus getMeetingStatus()
void leaveCurrentMeeting(boolean endIfPossible)
endIfPossible
- If it is TRUE and the current user is the meeting host, the meeting ends directly.void pauseCurrentMeeting()
void resumeCurrentMeeting()
pauseCurrentMeeting
.void returnToMeeting(android.content.Context context)
context
- Android context.java.lang.String getCurrentRtcMeetingID()
long getCurrentRtcMeetingNumber()
java.lang.String getCurrentMeetingUrl()
boolean isCurrentMeetingLocked()
boolean isCurrentMeetingHost()
boolean dialOutUser(java.lang.String number, java.lang.String userName, boolean isCallMe)
number
- Phone number of invitee.userName
- Screen name of invitee who joins the meeting when the API isCallMe is true.isCallMe
- Set to invite others or the current user himself.boolean cancelDialOut(boolean isCallMe)
isCallMe
- Set to invite others or the current user himself.boolean isDialOutInProgress()
boolean isDialoutSupported()
boolean isInviteRoomSystemSupported()
InviteRoomSystemHelper getInviteRoomSystemHelper()
InviteRoomSystemHelper
.InviteRoomSystemHelper
.boolean tryRetrieveMicrophone()
void removeMeetingNotification(android.content.Context context)
context
- See Context
void configDSCP(int audio, int video, boolean reset)
audio
- Configure DSCP value for audio.video
- Configure DSCP value for video.reset
- Reset DSCP values.void notifyVideoConfInstanceDestroyed()