InfosManager is the read-only information query entry point for the current meeting, obtained through MeetingEngine.infosManager. It provides meeting info, member info, and media track info; it doesn’t send network requests or change meeting state.
Usage notes
MeetingEnginealways returns the sameInfosManagerfacade, so your app can hold it long-term; each query reads the meeting the Engine has currently entered and doesn’t keep exposing data from the previous meeting.- Query results come from the SDK’s local cache and may briefly lag behind an operation that was just started but not yet confirmed by the server. To be notified of state changes, also listen to the corresponding
MeetingRoomEventorMeetingUserEvent. - When there is no entered meeting, nullable properties and object queries return
null, list queries return an empty list, and boolean queries returnfalse. - The audience is not part of the full member list. When the current user entered the meeting as audience,
isAudience()returnstrue, butgetMeInfo()may returnnull. - The returned models and lists are snapshots of the state at query time; don’t rely on modifying these objects to update the SDK or the server’s meeting state.
Properties
meUid
null until entering the meeting completes or after exiting the meeting.
meetingId
null until entering the meeting completes or after exiting the meeting.
whiteBoard
null when not in a meeting, after exiting the meeting, or when the meeting has no whiteboard URL.
Methods
getMeetingInfo()
null when there is no entered meeting or the room properties can’t be parsed.
getMeInfo()
null when not in a meeting, when the current user is audience, or when the member properties can’t be parsed.
isAudience()
true means the current user is audience; false when not in a meeting or when the current user is a full member.
getMembersInfo()
getMemberByUid(uid)
Returns: The matching
MemberInfo; null when not in a meeting or the member doesn’t exist.
isExistMember(uid)
Returns:
true when the member exists; false when not in a meeting or the member doesn’t exist.
getTrackInfos(uid)
Returns: A snapshot list of SRTC
TrackInfo; an empty list when not in a meeting, when the user doesn’t exist, or when the user has no published tracks. For the model fields, see SRTC Android model types.
getTrackInfoByTrackDesc(uid, trackDesc)
Returns: The matching
TrackInfo; null when not in a meeting or there is no matching track. For the track description definitions, see SRTC Android enums.
getTrackInfoByTrackId(uid, trackId)
Returns: The matching
TrackInfo; null when not in a meeting or there is no matching track.