MProEngTones Class Reference
#include
<mw/MProEngTones.h>
Link against: ProfileEngine.lib
Detailed Description
Profile tones interface. This interface offers methods to get line 1 and 2 ringing tone, message alert tone, e-mail alert tone and video call alert tone.
Constructor & Destructor Documentation
~MProEngTones ( )
~MProEngTones | ( | ) | [protected, inline, virtual] |
Member Function Documentation
EmailAlertTone ( )
const TDesC & | EmailAlertTone | ( | ) | const [pure virtual] |
Returns Email alert tone file name.
- Since
- 3.1
Returns: Returns Email alert tone file name.
MessageAlertTone ( )
const TDesC & | MessageAlertTone | ( | ) | const [pure virtual] |
Returns message alert tone file name.
- Since
- 3.1
Returns: Returns message alert tone file name.
RingingTone1 ( )
const TDesC & | RingingTone1 | ( | ) | const [pure virtual] |
Returns line 1 ringing tone file name.
- Since
- 3.1
Returns: Returns line 1 ringing tone file name.
RingingTone2 ( )
const TDesC & | RingingTone2 | ( | ) | const [pure virtual] |
Returns line 2 ringing tone file name. If alternate line service isn't supported by the network, this isn't used for anything.
- Since
- 3.1
Returns: Returns line 2 ringing tone file name.
SetEmailAlertToneL ( const TDesC & )
TInt
| SetEmailAlertToneL | ( | const TDesC & | aEmailAlertTone | ) | [pure virtual] |
Set Email alert tone file name.
- Since
- 3.1
Parameter | Description | aEmailAlertTone | Email alert tone. If the alert tone should be be left empty, this should be KNullDesC. |
Returns: KErrNone if succesful, KErrAccessDenied if e-mail alert tone setting of this profile is read-only.
SetMessageAlertToneL ( const TDesC & )
TInt
| SetMessageAlertToneL | ( | const TDesC & | aMessageAlertTone | ) | [pure virtual] |
Set message alert tone.
- Since
- 3.1
Parameter | Description | aMessageAlertTone | File name of the message alert tone. If the alert tone should be left empty, this should be KNullDesC. |
Returns: KErrNone if succesful, KErrAccessDenied if message alert tone setting of this profile is read-only.
SetRingingTone1L ( const TDesC & )
TInt
| SetRingingTone1L | ( | const TDesC & | aRingingTone | ) | [pure virtual] |
Set line 1 ringing tone.
- Since
- 3.1
Parameter | Description | aRingingTone | File name of the ringing tone. If the ringing tone should be left empty, this should be KNullDesC. |
Returns: KErrNone if succesful, KErrAccessDenied if line 1 ringing tone setting of this profile is read-only.
SetRingingTone2L ( const TDesC & )
TInt
| SetRingingTone2L | ( | const TDesC & | aRingingTone | ) | [pure virtual] |
Set line 2 ringing tone. Note, that this tone can be set even if the network does not support the alternate line service. In this case, the value of line 2 ringing tone is still saved in Profiles data but it isn't used for anything.
- Since
- 3.1
Parameter | Description | aRingingTone | File name of the ringing tone. If the line 2 ringing tone should be left empty, this should be KNullDesC. |
Returns: KErrNone if succesful, KErrAccessDenied if line 2 ringing tone setting of this profile is read-only.
SetVideoCallRingingToneL ( const TDesC & )
TInt
| SetVideoCallRingingToneL | ( | const TDesC & | aRingingTone | ) | [pure virtual] |
Set Video call ringing tone file name.
- Since
- 3.1
Parameter | Description | aRingingTone | Video call ringing tone file name. If the alert tone should be left empty, this should be KNullDesC. |
Returns: KErrNone if succesful, KErrAccessDenied if video call ringing tone setting of this profile is read-only.
VideoCallRingingTone ( )
const TDesC & | VideoCallRingingTone | ( | ) | const [pure virtual] |
Returns Video call ringing tone file name.
- Since
- 3.1
Returns: Returns Video call ringing tone file name.