MMMFAudioResourceNotificationCallback Class Reference

class MMMFAudioResourceNotificationCallback

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.

Public Member Functions
voidMarncResourceAvailable(TUid, const TDesC8 &)

Member Functions 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

TUid aNotificationEventIdThe UID of the event that is being handled.
const TDesC8 & aNotificationDataThe data that corresponds to the notification event.