MTextReaderController Class Reference

#include <textreadercontroller.h>

class MTextReaderController
Public Member Functions
pure virtual TTimeIntervalMicroSeconds Duration()
pure virtual TBool ForwardL()
pure virtual TInt MaxVolume()
pure virtual TBool NextL()
pure virtual voidPause()
pure virtual voidPlayL(TBool)
pure virtual TTimeIntervalMicroSeconds Position()
pure virtual TBool PreviousL()
pure virtual TBool RewindL()
pure virtual voidSetAudioOutputL(TInt)
pure virtual voidSetSpeakingRateL(TInt)
pure virtual voidSetVolume(TInt)
pure virtual voidStop()
pure virtual TInt Volume()

Detailed Description

Interface definition for controlling text reader

Member Function Documentation

Duration ( )

TTimeIntervalMicroSeconds Duration()[pure virtual]

Give duration

Return Value
Duration in ms

ForwardL ( )

TBool ForwardL()[pure virtual]

Forward to next item.

Return Value
ETrue if can be forwarded otherwise EFalse

MaxVolume ( )

TInt MaxVolume()[pure virtual]

Maximum volume level

Return Value
Max volume which is currently 10

NextL ( )

TBool NextL()[pure virtual]

Move to the next group of items.

Return Value
ETrue if group can be changed otherwise EFalse

Pause ( )

voidPause()[pure virtual]

Pause playing

PlayL ( TBool )

voidPlayL(TBoolaContinuousReading)[pure virtual]

Start playback

Position ( )

TTimeIntervalMicroSeconds Position()[pure virtual]

Gives position

Return Value
Position in ms

PreviousL ( )

TBool PreviousL()[pure virtual]

Move to the previous group of items.

Return Value
ETrue if group can be changed otherwise EFalse

RewindL ( )

TBool RewindL()[pure virtual]

Go back to previous item.

Return Value
ETrue if can be rewinded otherwise EFalse

SetAudioOutputL ( TInt )

voidSetAudioOutputL(TIntaAudioOutput)[pure virtual]

Set audio output

SetSpeakingRateL ( TInt )

voidSetSpeakingRateL(TIntaValue)[pure virtual]

Set speaking rate

SetVolume ( TInt )

voidSetVolume(TIntaVolume)[pure virtual]

Set volume level Number of volume levels according "S60_Volume_UI_Specification.pdf"

Parameters
aVolumeNew volume level from 1 to 10

Stop ( )

voidStop()[pure virtual]

Stop playing

Volume ( )

TInt Volume()[pure virtual]

Current volume level Number of volume levels according "S60_Volume_UI_Specification.pdf"

Return Value
Current volume level from 1 to 10