amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo / PrimaryMeetingPromotionObserver

# PrimaryMeetingPromotionObserver

`interface PrimaryMeetingPromotionObserver`

PrimaryMeetingPromotionObserver handles events related to the promotion and demotion of attendees initially in replica meetings.

Note: all callbacks will be called on main thread.

### Functions

#### onPrimaryMeetingDemotion | This observer callback will only be called for attendees in Replica meetings that have been promoted to the Primary meeting via AudioVideoFacade.promoteToPrimaryMeeting. `open fun onPrimaryMeetingDemotion(status: MeetingSessionStatus): Unit`
#### onPrimaryMeetingPromotion | Upon success/failure of AudioVideoFacade.promoteToPrimaryMeeting the following observer will return a MeetingSessionStatus that will contain a MeetingSessionStatusCode of the following: `open fun onPrimaryMeetingPromotion(status: MeetingSessionStatus): Unit`