IToiMediaConsumerObserver Interface Reference


Description

Technical Preview:
This interface is a TECHNICAL PREVIEW, it may change. The IToiMediaConsumerObserver interface is implemented by applications and is used when creating media consumers. The application will receive asynchronous notifications about media consumer events.

The application provides the address of the IToiMediaConsumerObserver implementation in the IToiMediaService::CreateConsumerInstance() method.

See also:
IToiMediaService::CreateConsumerInstance()
Note:
Services or applications may choose to inherit the adapter class TToiMediaConsumerObserverAdapter, which provides a default empty implementation of IToiMediaConsumerObserver.

import "IToiMediaConsumerObserver.idl";

List of all members.

Public Member Functions

oneway void OnStateChanged (in IToiMediaConsumer::TToiState state, in string reason)

Member Function Documentation

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.

Parameters:
state The new state.
reason The reason for the state change.