STEventsObserver Class Reference
| Declared in | STEventsObserver.swift |
Overview
STEventsObserver provides an interface for an application to receive real time events and notifications, accompanied with data, from STMediaRunner module. STEventsObserver provides a STEventsObserverDelegate protocol with a method that is called to notify applications of media events. An application must implement the method provided by STEventsObserverDelegate protocol in order to receive the events and notifications from STMediaRunner module.
Warning: It is a requirement that STEventsObserver object be declared as a property of an interface, class or some other object in order to receive real time events and notifications properly.
Tasks
-
delegatepropertyTo use the STEventsObserverDelegate method, assign this delegate to the class hosting STEventsObserver and then implement the delegate method documented under STEventsObserverDelegate.
Properties
delegate
weak public var delegate: STEventsObserverDelegate?
Discussion
To use the STEventsObserverDelegate method, assign this delegate to the class hosting STEventsObserver and then implement the delegate method documented under STEventsObserverDelegate.
Declared In
STEventsObserver.swift