| Motorola Mobility Confidential Restricted. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
ToiMediaRecorderBase Interface Reference DescriptionThe ToiMediaRecorderBase interface is the base interface for recorder instances. It contains only read-only methods and no control functionality.
Inheritance diagram for ToiMediaRecorderBase:
Member Typedef Documentation
State identifier used to identify the media recorder state. Member Function Documentation
Returns the asset used for recording.
Get the current value of a parameter.
Returns the session identifier. This identifier can be used to open a session object with (C++) ToiMediaService::OpenSession().
Returns the current state of the media recorder instance.
Returns the URL for the media stream.
This function releases the resources used by this instance. When this function returns all observers has also been released.
This function makes the application subscribe to updates of a specific named parameter. When the subscription is made there will be an immediate call to (C++) ToiMediaRecorderObserver::OnParameterChanged() if there is a value available.
This function undoes the effect of a previous call to ToiMediaRecorderBase::subscribeParameter().
Member Data Documentation
This is an Event identifier for ToiMediaRecorderParameterChangedEvent. This constant can also be accessed from toi.consts.ToiMediaRecorderBase.ON_PARAMETER_CHANGED.
This is an Event identifier for ToiMediaRecorderStateChangedEvent. This constant can also be accessed from toi.consts.ToiMediaRecorderBase.ON_STATE_CHANGED. In ToiMediaRecorderBase::STATE_CONNECTING the media recorder has an active session and is in the process of establishing a connection to a media stream source. This constant can also be accessed from toi.consts.ToiMediaRecorderBase.STATE_CONNECTING. In ToiMediaRecorderBase::STATE_FAILED the media recorder may or may not have a connection to a media source but the process of getting the stream from that source has failed in some fatal way. This constant can also be accessed from toi.consts.ToiMediaRecorderBase.STATE_FAILED. In ToiMediaRecorderBase::STATE_IDLE there is no active session. The media recorder does not handle a stream, and consequently has no connection to a media stream source. All functions requiring a session will raise a TToiSessionViolationException in ToiMediaRecorderBase::STATE_IDLE. This constant can also be accessed from toi.consts.ToiMediaRecorderBase.STATE_IDLE. In ToiMediaRecorderBase::STATE_PAUSED the media recorder has a connection to a media source but is not yet recording the stream. This constant can also be accessed from toi.consts.ToiMediaRecorderBase.STATE_PAUSED. In ToiMediaRecorderBase::STATE_RECORDING the media recorder has a connection to a media source and records the stream. This constant can also be accessed from toi.consts.ToiMediaRecorderBase.STATE_RECORDING. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||