amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.analytics / DefaultEventAnalyticsController

DefaultEventAnalyticsController

class DefaultEventAnalyticsController : EventAnalyticsController

Constructors

<init>

DefaultEventAnalyticsController(logger: Logger, meetingSessionConfiguration: MeetingSessionConfiguration, meetingStatsCollector: MeetingStatsCollector, eventReporter: EventReporter? = null)

Functions

addEventAnalyticsObserver

Add specified EventAnalyticsObserver.

fun addEventAnalyticsObserver(observer: EventAnalyticsObserver): Unit

getCommonEventAttributes

Retrieve common attributes, including deviceName, osName, and more.

fun getCommonEventAttributes(): EventAttributes

getMeetingHistory

Retrieve meeting history.

fun getMeetingHistory(): List<MeetingHistoryEvent>

publishEvent

Publish an event with updated EventAttributes.

fun publishEvent(name: EventName, attributes: EventAttributes?): Unit

pushHistory

Push MeetingHistoryEventName to internal MeetingStatsCollector.

fun pushHistory(historyEventName: MeetingHistoryEventName): Unit

removeEventAnalyticsObserver

Remove specified EventAnalyticsObserver.

fun removeEventAnalyticsObserver(observer: EventAnalyticsObserver): Unit