Interface java.telephony.media.events.MediaTermConnStateEv
All Packages Class Hierarchy This Package Previous Next Index
Interface java.telephony.media.events.MediaTermConnStateEv
- public interface MediaTermConnStateEv
- extends Object
- extends MediaTermConnEv
The MediaTermConnStateEv interface indicates that the playing/recording
state has changed on the TerminalConnection object. This event interface
extends the java.telephony.events.TermConnEv interface, through which the
application may obtain the TerminalConnection object associated with
this event.
Applications may obtain the new state via the getMediaState() method on this
interface, or via the MediaTerminalConnection.getMediaState() method.
-
ID
- Event id
-
getMediaState()
- Returns the current state of playing/recording on the TerminalConnection
in the form of a bit mask.
ID
public final static int ID
- Event id
getMediaState
public abstract int getMediaState()
- Returns the current state of playing/recording on the TerminalConnection
in the form of a bit mask.
- Returns:
- The current playing/recording state.
All Packages Class Hierarchy This Package Previous Next Index