public interface MeetMeUser extends LiveObject
PropertyChangeEvents are fired for the following properties:
MeetMeRoom
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_MUTED |
static String |
PROPERTY_STATE |
static String |
PROPERTY_TALKING |
Modifier and Type | Method and Description |
---|---|
AsteriskChannel |
getChannel()
Returns the channel associated with this user.
|
Date |
getDateJoined()
Returns the date this user joined the MeetMe room.
|
Date |
getDateLeft()
Returns the date this user left the MeetMe room.
|
MeetMeRoom |
getRoom()
Returns the MeetMe room this user joined.
|
MeetMeUserState |
getState()
Returns the lifecycle status of this MeetMeUser.
|
Integer |
getUserNumber()
Returns the user number assigned to this user in the room.
|
boolean |
isMuted()
Returns whether this user is muted or not.
|
boolean |
isTalking()
Returns whether this user is currently talking or not.
|
void |
kick()
Removes this user from the MeetMe room.
|
void |
mute()
Stops sending voice from this user to the MeetMe room.
|
void |
unmute()
(Re)starts sending voice from this user to the MeetMe room.
|
addPropertyChangeListener, addPropertyChangeListener, getLastUpdateMillis, getServer, removePropertyChangeListener, removePropertyChangeListener
static final String PROPERTY_TALKING
static final String PROPERTY_MUTED
static final String PROPERTY_STATE
boolean isTalking()
Asterisk supports talker detection since version 1.2.
true
if this user is currently talking and
talker detection is supported, false
otherwise.boolean isMuted()
Supported since Asterisk version 1.4.
true
if this user is muted and
mute detection is supported, false
otherwise.Date getDateJoined()
This property is immutable.
Date getDateLeft()
This property is null
as long as the user is
in state MeetMeUserState.JOINED
and set to date the
user left when entering MeetMeUserState.LEFT
.
null
if the user did not yet leave.MeetMeUserState getState()
Initially the user is in state MeetMeUserState.JOINED
.
MeetMeRoom getRoom()
This property is immutable.
Integer getUserNumber()
Usually you won't need to access this property directly.
This property is immutable.
AsteriskChannel getChannel()
This property is immutable.
void mute() throws ManagerCommunicationException
ManagerCommunicationException
- if there is a problem talking to the Asterisk server.void unmute() throws ManagerCommunicationException
ManagerCommunicationException
- if there is a problem talking to the Asterisk server.void kick() throws ManagerCommunicationException
ManagerCommunicationException
- if there is a problem talking to the Asterisk server.Copyright © 2004–2017. All rights reserved.