EventAnalyticsController
@objc
public protocol EventAnalyticsController
EventAnalyticsController keeps track of events and notifies EventAnalyticsObserver.
An event describes the success and failure conditions for the meeting session.
-
Declaration
Swift
func publishEvent(name: EventName) -
Publish an event with updated
EventAttributesDeclaration
Swift
func publishEvent(name: EventName, attributes: [AnyHashable : Any])Parameters
nameName of event to publish
attributesAttributes
EventAttributesfor that meeting event -
Push
MeetingHistoryEventNameto internalMeetingStatsCollectorstates to later pass to buildersDeclaration
Swift
func pushHistory(historyEventName: MeetingHistoryEventName)Parameters
historyEventNameHistory state to put in the meeting history
-
Subscribes to meeting event related data with an observer
Declaration
Swift
func addEventAnalyticsObserver(observer: EventAnalyticsObserver)Parameters
observerAn observer to add to start receiving meeting events
-
Unsubscribes from meeting event by removing the specified observer
Declaration
Swift
func removeEventAnalyticsObserver(observer: EventAnalyticsObserver)Parameters
observerAn observer to remove to stop receiving meeting events
-
Retrieve meeting history.
Declaration
Swift
func getMeetingHistory() -> [MeetingHistoryEvent] -
Retrieve common attributes, including deviceName, osName, and more.
Declaration
Swift
func getCommonEventAttributes() -> [AnyHashable : Any]