API published in: S60 1st Ed
Link against: avkon.lib
Required Capabilities
None
#include <aknsoundsystem.h>
Provides support for handling key sounds.
Public Member Functions |
|
IMPORT_C | ~CAknKeySoundSystem () |
Destructor. |
|
IMPORT_C void | PushContextL (TInt aResourceId) |
Function reads resource data from resource file and push the context to the server session. |
|
IMPORT_C void | PopContext () |
Pop the context from the server session object. |
|
IMPORT_C void | PlaySound (const TKeyEvent &aKeyEvent) |
This function plays key event sounds. |
|
IMPORT_C void | PlaySound (TInt aSid) |
This function plays sounds by sound ID. |
|
IMPORT_C void | AddAppSoundInfoListL (TInt aResourceId) |
Function reads resource data from resource file. |
|
IMPORT_C void | BringToForeground () |
This function brings the sounds back to foreground. |
|
IMPORT_C void | StopSound (TInt aSid) |
Stops playing the sound with given ID. |
|
IMPORT_C void | LockContext () |
Locks context. |
|
IMPORT_C void | ReleaseContext () |
Releases context. |
|
IMPORT_C TInt | RequestSoundInfoL (TInt aAvkonSid, CAknSoundInfo &aInfo) |
Reads sound information from given Avkon sound ID. |
|
IMPORT_C TInt | TopContext () |
Returns top context id from the session. |
|
Static Public Member Functions |
|
static IMPORT_C CAknKeySoundSystem * | NewL (TInt aUid) |
Base class default constructor. |
|
Destructor. |
|
Function reads resource data from resource file. And adds the application sound info list to the server session. If the leave occurs the framework generates a Symbian Leave code.
|
|
This function brings the sounds back to foreground.
This function should be called from |
|
Locks context. |
|
Base class default constructor.
|
|
This function plays sounds by sound ID.
|
|
This function plays key event sounds.
|
|
Pop the context from the server session object. |
|
Function reads resource data from resource file and push the context to the server session.
The most common Avkon resources in this case are
|
|
Releases context. |
|
Reads sound information from given Avkon sound ID.
|
|
Stops playing the sound with given ID.
|
|
Returns top context id from the session.
|