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_EventNotification

    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

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

mediaJobID

The media job ID assigned by a client or an appliation.

mediaItemID

The ID of the media item being processed for which this media event notification applies.

mediaFunction

The media function type.

mediaEvent

The media event type.

mediaEventData

The media event data.

Declared In

STEventsObserver.swift