MUPnPAVRenderingSessionObserver Class Reference
class MUPnPAVRenderingSessionObserver : public MUPnPAVSessionObserverBase |
Defines the response interface for the media control operations of the UPnP AV Controller.
Inherits from
- MUPnPAVRenderingSessionObserver
Member Functions Documentation
InteractOperationComplete(TInt, TUPnPAVInteractOperation)
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.
MediaRendererDisappeared(TUPnPDeviceDisconnectedReason)
Notifies that the Media Renderer we have a session with has disappeared. Session is now unusable and must be closed.
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.
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.
Parameters
TInt aError | |
const TDesC8 & aTrackPosition | TDesC8& track position |
const TDesC8 & aTrackLength | TDesC8& track length |
ReserveLocalMSServicesCompleted(TInt)
void | ReserveLocalMSServicesCompleted | ( | TInt | aError | ) | [pure virtual] |
SetNextURIResult(TInt)
void | SetNextURIResult | ( | TInt | aError | ) | [pure virtual] |
UPnP AV Controller calls this method to return the result for the 'set next uri' request.
SetURIResult(TInt)
void | SetURIResult | ( | TInt | aError | ) | [pure virtual] |
UPnP AV Controller calls this method to return the result for the 'set uri' request.
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.
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() |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.