A call to this function tells the observer that the media recorder state has changed. The application is not notified this way about implicit state changes triggered by commands from the application itself.
Note that there is no timing constraint on these messages, and they may arrive late in certain situations. For example, the application may receive a call to this function about a state transition after the application has successfully called ToiMediaRecorder::close() and thereby ended the session. This implies that the application should take calls to this function as indications to state transitions that has in fact happened, but it cannot say for certain when these state transitions occured.
state | The new state. | |
reason | The reason for the state change. |
import "ToiMediaRecorderStateChangedEvent.idl";
Public Attributes | |
readonly attribute ToiMediaRecorderBase::TToiMediaRecorderState | state |
readonly attribute string | reason |
readonly attribute long | evtType |
readonly attribute ToiEventTarget | evtTarget |
readonly attribute unsigned long long | evtTimeStamp |
readonly attribute ToiEventTarget ToiEvent::evtTarget [inherited] |
The event target that generated the event.
readonly attribute unsigned long long ToiEvent::evtTimeStamp [inherited] |
The time stamp that the event is generated.
readonly attribute long ToiEvent::evtType [inherited] |
The type of the event.