MRadioPlayerObserver Class Reference
class MRadioPlayerObserver
|
This class provides the interface class to be implemented by object receiving request complete notification from radio player utility. These functions are called once the asynchronous request completes successfully or with an error.
In addition, this class provides the interface for receiving events about radio playback.
Member Functions Documentation
MrpoBalanceChange(TInt, TInt)
void
|
MrpoBalanceChange
|
(
|
TInt
|
aLeftPercentage,
|
|
TInt
|
aRightPercentage
|
|
)
|
[pure virtual]
|
Called when balance setting changes. This may be caused by other applications.
-
Since
-
S60 3.2 Left speaker volume percentage. This can be any value from zero to 100. Zero value means left speaker is muted.
Parameters
TInt
aLeftPercentage
|
|
TInt
aRightPercentage
|
Right speaker volume percentage. This can be any value from zero to 100. Zero value means right speaker is muted.
|
MrpoMuteChange(TBool)
void
|
MrpoMuteChange
|
(
|
TBool
|
aMute
|
)
|
[pure virtual]
|
Called when mute setting changes. This may be caused by other applications.
Parameters
TBool
aMute
|
ETrue indicates audio is muted.
|
MrpoStateChange(TPlayerState, TInt)
Radio state changed. This event is asynchronous and is received after a call to
CRadioPlayerUtility::Play
and
CRadioPlayerUtility::Stop
. This event is also generated when the radio is disrupted due to an error.
If the radio is disrupted due to an error, appropriate error code will be sent. The following are the most common error codes: KErrDied when radio is pre-empted by another application with higher priority, KErrHardwareNotAvailable when tuner is forced off (e.g. when FM transmitter is turned on).
Parameters
TPlayerState
aState
|
Radio player state
|
TInt
aError
|
A standard system error code, only used when aState is ERadioPlayerIdle
|
MrpoVolumeChange(TInt)
void
|
MrpoVolumeChange
|
(
|
TInt
|
aVolume
|
)
|
[pure virtual]
|
Called when volume changes. This may be caused by other applications.
Parameters
TInt
aVolume
|
Current volume.
|
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.