public class UserInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
hasAudio
Whether user has audio (1) or not (0)
|
private int |
hasVideo
Whether user has video (1) or not (0)
|
private java.lang.String |
userId
User ID
|
| Constructor and Description |
|---|
UserInfo()
Default constructor for UserInfo.
|
UserInfo(java.lang.String userId,
int hasAudio,
int hasVideo)
Constructs UserInfo with user ID and media flags.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHasAudio()
Gets whether user has audio.
|
int |
getHasVideo()
Gets whether user has video.
|
java.lang.String |
getUserId()
Gets the user ID.
|
void |
setHasAudio(int hasAudio)
Sets whether user has audio.
|
void |
setHasVideo(int hasVideo)
Sets whether user has video.
|
void |
setUserId(java.lang.String userId)
Sets the user ID.
|
private java.lang.String userId
private int hasAudio
private int hasVideo
public UserInfo()
public UserInfo(java.lang.String userId,
int hasAudio,
int hasVideo)
userId - User IDhasAudio - Whether user has audio (1) or not (0)hasVideo - Whether user has video (1) or not (0)public java.lang.String getUserId()
public void setUserId(java.lang.String userId)
userId - User IDpublic int getHasAudio()
public void setHasAudio(int hasAudio)
hasAudio - 1 if user has audio, 0 otherwisepublic int getHasVideo()
public void setHasVideo(int hasVideo)
hasVideo - 1 if user has video, 0 otherwise