MMMFAudioResourceNotificationCallback Class Reference

#include <mmf/common/mmfaudio.h>

class MMMFAudioResourceNotificationCallback
Public Member Functions
pure virtual voidMarncResourceAvailable(TUid, const TDesC8 &)

Detailed Description

An interface to a set of audio player callback functions.

The class is a mixin and is intended to be inherited by the client

class which is waiting for the audio resource. The functions

encapsulated by this class are called when specific events occur in

the process of resource availablity. A reference to this object is

passed as a parameter when registering for notification by

the audio player.

Member Function Documentation

MarncResourceAvailable ( TUid, const TDesC8 & )

voidMarncResourceAvailable(TUidaNotificationEventId,
const TDesC8 &aNotificationData
)[pure virtual]

Called when the audio resource becomes available but

only if the resource was previously unavailable (e.g. if

the audio resource is available when the client registers,

then this callback is not received).

Parameters
aNotificationEventIdThe UID of the event that is being handled.
aNotificationDataThe data that corresponds to the notification event.