MUPnPAVRenderingSessionObserver Class Reference

class MUPnPAVRenderingSessionObserver : public MUPnPAVSessionObserverBase

Defines the response interface for the media control operations of the UPnP AV Controller.

Since
Series 60 3.1

Inherits from

Member Functions Documentation

InteractOperationComplete(TInt, TUPnPAVInteractOperation)

void InteractOperationComplete ( TInt aError,
TUPnPAVInteractOperation aOperation
) [pure virtual]

UPnP AV Controller calls this method to indicate that the requested interaction operation (play, stop, etc.) is complete. In other words, the target rendering device has changed it's state accordingly.

Since
Series 60 3.1

Parameters

TInt aError system wide error code
TUPnPAVInteractOperation aOperation TInt operation (TAVInteractOperation)

MediaRendererDisappeared(TUPnPDeviceDisconnectedReason)

void MediaRendererDisappeared ( TUPnPDeviceDisconnectedReason aReason ) [pure virtual]

Notifies that the Media Renderer we have a session with has disappeared. Session is now unusable and must be closed.

Since
Series 60 3.1

MuteResult(TInt, TBool, TBool)

void MuteResult ( TInt aError,
TBool aMute,
TBool aActionResponse
) [pure virtual]

UPnP AV Controller calls this method to return the result for the 'get mute' request. Parameter contains the state of the mute of the media renderer device to which the 'get mute' request was sent.

Since
Series 60 3.1

Parameters

TInt aError system wide error code
TBool aMute TBool the state of the mute (ETrue or EFalse)
TBool aActionResponse ETrue, if this is a response to GetMute()

PositionInfoResult(TInt, const TDesC8 &, const TDesC8 &)

void PositionInfoResult ( TInt aError,
const TDesC8 & aTrackPosition,
const TDesC8 & aTrackLength
) [pure virtual]

UPnP AV Controller calls this method as a response to Position Info action. The current position and the total length of the track that is currently playing is returned. The results are in (hh:mm:ss) format.

UPnPAVController releases the memory allocated for aTrackPosition and aTrackLength.

Since
Series 60 3.0

Parameters

TInt aError
const TDesC8 & aTrackPosition TDesC8& track position
const TDesC8 & aTrackLength TDesC8& track length

ReserveLocalMSServicesCompleted(TInt)

void ReserveLocalMSServicesCompleted ( TInt aError ) [pure virtual]

Parameters

TInt aError

SetNextURIResult(TInt)

void SetNextURIResult ( TInt aError ) [pure virtual]

UPnP AV Controller calls this method to return the result for the 'set next uri' request.

Since
Series 60 3.1

Parameters

TInt aError error code

SetURIResult(TInt)

void SetURIResult ( TInt aError ) [pure virtual]

UPnP AV Controller calls this method to return the result for the 'set uri' request.

Since
Series 60 3.1

Parameters

TInt aError error code

VolumeResult(TInt, TInt, TBool)

void VolumeResult ( TInt aError,
TInt aVolumeLevel,
TBool aActionResponse
) [pure virtual]

UPnP AV Controller calls this method to return the result for the 'get volume' request. Parameter contains the volume level of the media renderer device to which the 'get volume' request was sent.

Since
Series 60 3.1

Parameters

TInt aError system wide error code
TInt aVolumeLevel TInt volume level (integer value between 0 - 100)
TBool aActionResponse ETrue, if this is a response to GetVolume()