MProEngToneSettings Class Reference

#include <mw/MProEngToneSettings.h>

Link against: ProfileEngine.lib

class MProEngToneSettings
Public Member Functions
pure virtual TProfileKeypadVolume KeypadVolume()
pure virtual TProfileRingingType RingingType()
pure virtual TProfileRingingVolume RingingVolume()
pure virtual TInt SetKeypadVolume(TProfileKeypadVolume)
pure virtual TInt SetRingingType(TProfileRingingType)
pure virtual TInt SetRingingVolume(TProfileRingingVolume)
pure virtual TInt SetTextToSpeech(TBool)
pure virtual TInt SetVibratingAlert(TBool)
pure virtual TInt SetWarningAndGameTones(TBool)
pure virtual TBool TextToSpeech()
pure virtual TBool VibratingAlert()
pure virtual TBool WarningAndGameTones()
Protected Member Functions
virtual ~MProEngToneSettings()

Detailed Description

Profile tone settings interface. This interface offers methods to set and get the following settings: ringing type, keypad volume, ringing volume, vibrating alert, warning and game tones and text-to-speech.

Since
3.1

Constructor & Destructor Documentation

~MProEngToneSettings ( )

~MProEngToneSettings()[protected, inline, virtual]

Member Function Documentation

KeypadVolume ( )

TProfileKeypadVolume KeypadVolume()const [pure virtual]
Returns the keypad volume.
Since
3.1

Returns: Returns the keypad volume.

RingingType ( )

TProfileRingingType RingingType()const [pure virtual]
Returns the ringing type.
Since
3.1

Returns: Returns the ringing type.

RingingVolume ( )

TProfileRingingVolume RingingVolume()const [pure virtual]
Returns the ringing volume.
Since
3.1

Returns: Returns the ringing volume.

SetKeypadVolume ( TProfileKeypadVolume )

TInt SetKeypadVolume(TProfileKeypadVolumeaKeypadVolume)[pure virtual]
Sets the keypad volume.
Since
3.1
ParameterDescription
aKeypadVolumeThe new value for keypad tones volume.

Returns: KErrNone if succesful, KErrAccessDenied if keypad tones setting of this profile is read-only.

SetRingingType ( TProfileRingingType )

TInt SetRingingType(TProfileRingingTypeaRingingType)[pure virtual]
Sets the ringing type.
Since
3.1
ParameterDescription
aRingingTypeThe new value for ringing type.

Returns: KErrNone if succesful, KErrAccessDenied if ringing type setting of this profile is read-only.

SetRingingVolume ( TProfileRingingVolume )

TInt SetRingingVolume(TProfileRingingVolumeaRingingVolume)[pure virtual]
Sets the ringing volume.
Since
3.1
ParameterDescription
aRingingVolumeThe new value for ringing volume.

Returns: KErrNone if succesful, KErrAccessDenied if ringing volume setting of this profile is read-only.

SetTextToSpeech ( TBool )

TInt SetTextToSpeech(TBoolaTextToSpeech)[pure virtual]
Sets the state of text-to-speech setting.
Since
3.1
ParameterDescription
aTextToSpeechThe new state for text-to-speech setting.

Returns: KErrNone if succesful, KErrAccessDenied if text-to-speech setting of this profile is read-only.

SetVibratingAlert ( TBool )

TInt SetVibratingAlert(TBoolaVibratingAlert)[pure virtual]
Sets the state of vibrating alert setting.
Since
3.1
ParameterDescription
aVibratingAlertThe new state for the vibrating alert setting.

Returns: KErrNone if succesful, KErrAccessDenied if vibrating alert setting of this profile is read-only.

SetWarningAndGameTones ( TBool )

TInt SetWarningAndGameTones(TBoolaWarningAndGameTones)[pure virtual]
Sets the state of warning and game tones setting.
Since
3.1
ParameterDescription
aWarningAndGameTonesThe new state for Warning and Game tones setting.

Returns: KErrNone if succesful, KErrAccessDenied if warning and game tones setting of this profile is read-only.

TextToSpeech ( )

TBool TextToSpeech()const [pure virtual]
Returns the state of text-to-speech setting.
Since
3.1

Returns: Returns the state of text-to-speech setting.

VibratingAlert ( )

TBool VibratingAlert()const [pure virtual]
Returns the state of vibrating alert setting.
Since
3.1

Returns: Returns the state of vibrating alert setting.

WarningAndGameTones ( )

TBool WarningAndGameTones()const [pure virtual]
Returns the state of warning and game tones setting.
Since
3.1

Returns: Returns the state of warning and game tones setting.