STEventsObserverDelegate Protocol Reference
| Declared in | STEventsObserver.swift |
Overview
The STEventsObserverDelegate protocol defines the optional methods implemented by delegates of the STEventsObserver class. This protocol allows applications to receive real time events and notifications, accompanied with data, from STMediaRunner module. STMedia_EventNotification method is defined in the protocol.
Tasks
-
– STMedia_EventNotificationThis 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
STMedia_EventNotification
func STMedia_EventNotification(_ mediaJobID:String, mediaItemID:String, mediaFunction:STNotifyMediaFunction, mediaEvent:STNotifyMediaEvent, mediaEventData:[AnyHashable : Any])
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 media job ID assigned by a client or an appliation.
mediaItemIDThe ID of the media item being processed for which this media event notification applies.
mediaFunctionThe media function type.
mediaEventThe media event type.
mediaEventDataThe media event data.
Declared In
STEventsObserver.swift