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)

voidInteractOperationComplete(TIntaError,
TUPnPAVInteractOperationaOperation
)[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 aErrorsystem wide error code
TUPnPAVInteractOperation aOperationTInt operation (TAVInteractOperation)

MediaRendererDisappeared(TUPnPDeviceDisconnectedReason)

voidMediaRendererDisappeared(TUPnPDeviceDisconnectedReasonaReason)[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)

voidMuteResult(TIntaError,
TBoolaMute,
TBoolaActionResponse
)[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 aErrorsystem wide error code
TBool aMuteTBool the state of the mute (ETrue or EFalse)
TBool aActionResponseETrue, if this is a response to GetMute()

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

voidPositionInfoResult(TIntaError,
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 & aTrackPositionTDesC8& track position
const TDesC8 & aTrackLengthTDesC8& track length

ReserveLocalMSServicesCompleted(TInt)

voidReserveLocalMSServicesCompleted(TIntaError)[pure virtual]

Parameters

TInt aError

SetNextURIResult(TInt)

voidSetNextURIResult(TIntaError)[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 aErrorerror code

SetURIResult(TInt)

voidSetURIResult(TIntaError)[pure virtual]

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

Since
Series 60 3.1

Parameters

TInt aErrorerror code

VolumeResult(TInt, TInt, TBool)

voidVolumeResult(TIntaError,
TIntaVolumeLevel,
TBoolaActionResponse
)[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 aErrorsystem wide error code
TInt aVolumeLevelTInt volume level (integer value between 0 - 100)
TBool aActionResponseETrue, if this is a response to GetVolume()