BZEventsObserverDelegate Protocol Reference
| Conforms to | NSObject |
| Declared in | BZEventsObserver.h |
Overview
The BZEventsObserverDelegate protocol defines the optional methods implemented by delegates of the BZEventsObserver class. This protocol allows applications to receive real time events and notifications, accompanied with data, from Media framework. BZMedia_EventNotification method is defined in the protocol.
Tasks
-
– BZMedia_EventNotification:mediaItemID:mediaFunction:mediaEvent:mediaEventData:This method is called to notify an application of various media events that are generated during the execution of various media tasks or functions such as playing audio, recording audio, media permissions, audio session events, etc.
Instance Methods
BZMedia_EventNotification:mediaItemID:mediaFunction:mediaEvent:mediaEventData:
- (void)BZMedia_EventNotification:(NSString *)mediaJobID mediaItemID:(NSString *)mediaItemID mediaFunction:(BZNotifyMediaFunction)mediaFunction mediaEvent:(BZNotifyMediaEvent)mediaEvent mediaEventData:(NSDictionary *)mediaEventData
Discussion
This method is called to notify an application of various media events that are generated during the execution of various media tasks or functions such as playing audio, recording audio, media permissions, audio session events, etc.
Parameters
mediaJobIDThe ID of a media job assigned by the application to the execution of a specific media job or task.
mediaItemIDThe ID of a media item assigned by the application to the media item to be processed during the execution of a media job or task .
mediaFunctionThe media function as defined by BZNotifyMediaFunction.
mediaEventThe media event as defined by BZNotifyMediaEvent.
mediaEventDataThe media event data associated with the media function and the media event. The data is presented as dictionary of key/value pairs.
Declared In
BZEventsObserver.h