The application provides the address of the IToiMediaConsumerObserver implementation in the IToiMediaService::CreateConsumerInstance() method.
import "IToiMediaConsumerObserver.idl";
Public Member Functions | |
oneway void | OnStateChanged (in IToiMediaConsumer::TToiState state, in string reason) |
oneway void IToiMediaConsumerObserver::OnStateChanged | ( | in IToiMediaConsumer::TToiState | state, | |
in string | reason | |||
) |
A call to this function tells the observer that the media consumer state has changed.
state | The new state. | |
reason | The reason for the state change. |