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

# EventAnalyticsController

`interface EventAnalyticsController`

EventAnalyticsController keeps track of events and notifies EventAnalyticsObserver. An event describes the success and failure conditions for the meeting session.

### Functions

#### addEventAnalyticsObserver | Add specified EventAnalyticsObserver. `abstract fun addEventAnalyticsObserver(observer: EventAnalyticsObserver): Unit`
#### getCommonEventAttributes | Retrieve common attributes, including deviceName, osName, and more. `abstract fun getCommonEventAttributes(): EventAttributes`
#### getMeetingHistory | Retrieve meeting history. `abstract fun getMeetingHistory(): List<MeetingHistoryEvent>`
#### publishEvent | Publish an event with updated EventAttributes. `abstract fun publishEvent(name: EventName, attributes: EventAttributes? = null): Unit`
#### pushHistory | Push MeetingHistoryEventName to internal MeetingStatsCollector. `abstract fun pushHistory(historyEventName: MeetingHistoryEventName): Unit`
#### removeEventAnalyticsObserver | Remove specified EventAnalyticsObserver. `abstract fun removeEventAnalyticsObserver(observer: EventAnalyticsObserver): Unit`

### Inheritors

#### DefaultEventAnalyticsController | `class DefaultEventAnalyticsController : EventAnalyticsController`