Protocols
The following protocols are available globally.
-
See moreEventAnalyticsControllerkeeps track of events and notifiesEventAnalyticsObserver. An event describes the success and failure conditions for the meeting session.Declaration
Swift
@objc public protocol EventAnalyticsController -
See moreEventAnalyticsFacadeexposes event analytics related function to buildersDeclaration
Swift
@objc public protocol EventAnalyticsFacade -
See moreEventAnalyticsObserverhandles events regarding to analytics.Declaration
Swift
@objc public protocol EventAnalyticsObserver -
See moreAudioVideoControllerFacademanages the signaling and peer connections.Declaration
Swift
@objc public protocol AudioVideoControllerFacade -
Declaration
Swift
@objc public protocol AudioVideoFacade: AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade, ContentShareController, EventAnalyticsFacade -
See moreAudioVideoObserverhandles audio/video session events.Declaration
Swift
@objc public protocol AudioVideoObserver -
See morePrimaryMeetingPromotionObserverhandles events related to Primary meeting promotion. SeeAudioVideoControllerFacade.promoteToPrimaryMeetingfor more information.Declaration
Swift
@objc public protocol PrimaryMeetingPromotionObserver -
See moreActiveSpeakerDetectorFacadelistens to the volume indicator updates from theRealtimeControllerFacade. It consults theActiveSpeakerPolicyto determine if the speaker is active or not.Declaration
Swift
@objc public protocol ActiveSpeakerDetectorFacade -
See moreActiveSpeakerObserverhandles event related to finding active speaker and corresponding scoresDeclaration
Swift
@objc public protocol ActiveSpeakerObserver -
Declaration
Swift
@objc public protocol ActiveSpeakerPolicy -
See moreSchedulercalls a callback on the schedule determined by the implementation.Declaration
Swift
@objc public protocol Scheduler -
See moreContentShareControllerexposes methods for starting and stopping content share with aContentShareSource. The content represents a media steam to be shared in the meeting, such as screen capture or media files. Please refer to content share guide for details.Declaration
Swift
@objc public protocol ContentShareController -
See moreContentShareObserverhandles all callbacks related to the content share. By implementing the callback functions and registering withContentShareController.addContentShareObserver, one can get notified with content share status events.Declaration
Swift
@objc public protocol ContentShareObserver -
See Using Amazon Chime SDK live transcription developer guide for details about transcription message types and data guidelines
Declaration
Swift
@objc public protocol TranscriptEvent -
See moreMetricsObserverhandles events related to audio/video metrics.Declaration
Swift
@objc public protocol MetricsObserver -
See moreVideoFrameBufferis a buffer which contains a single video buffer’s raw data. Typically owned by aVideoFramewhich includes additional metadata.Declaration
Swift
@objc public protocol VideoFrameBuffer -
VideoRenderViewis the type of VideoSink used by theVideoTileControllerDeclaration
Swift
@objc public protocol VideoRenderView : VideoSink -
A
See moreVideoSinkconsumes video frames, typically from aVideoSource. It may process, fork, or render these frames. Typically connected via videoVideoSource.addVideoSinkand disconnected viaVideoSource.removeVideoSinkDeclaration
Swift
@objc public protocol VideoSink -
See moreVideoSourceis an interface for sources which produce video frames, and can send to aVideoSink. Implementations can be passed to theAudioVideoFacadeto be used as the video source sent to remote participlantsDeclaration
Swift
@objc public protocol VideoSource -
Declaration
Swift
@objc public protocol VideoTileController : VideoTileControllerFacade -
See moreVideoTileControllerFacadeallows one to controlVideoTile. The caller is responsible for laying out video render views as desired and binding tile ids received from the observer in thevideoTileDidAddandvideoTileDidRemovecallbacks.Declaration
Swift
@objc public protocol VideoTileControllerFacade -
See moreCameraCaptureSourceis an interface for camera capture sources with additional features not covered byVideoCaptureSource. All the APIs in this protocol can be called regardless of whether theMeetingSession.audioVideois started or not.Declaration
Swift
@objc public protocol CameraCaptureSource : VideoCaptureSource -
See moreCaptureSourceObserverobserves events resulting from different types of capture devices. Builders may desire this input to decide when to show certain UI elements, or to notify users of failure.Declaration
Swift
@objc public protocol CaptureSourceObserver -
See moreVideoCaptureSourceis an interface for various video capture sources (i.e. screen, camera, file) which can emitVideoFrameobjects. All the APIs in this protocol can be called regardless of whether theMeetingSession.audioVideois started or not.Declaration
Swift
@objc public protocol VideoCaptureSource : VideoSource -
See moreDeviceChangeObserverlistens to the change of Audio Device.Declaration
Swift
@objc public protocol DeviceChangeObserver -
See moreDeviceControllerkeeps track of the devices being used for audio device (e.g. built-in speaker), video input (e.g. camera)). The list functions returnMediaDeviceobjects. Changes in device availability are broadcast to any registeredDeviceChangeObserver.Declaration
Swift
@objc public protocol DeviceController -
See moreEventBufferdefines storing and consuming of event data.Declaration
Swift
@objc public protocol EventBuffer -
See moreEventClientConfigurationcontains speciic data required to send as metadata.Declaration
Swift
@objc public protocol EventClientConfiguration -
See moreEventReporterprocess data. It will be called inDefaultEventAnalyticsController.Declaration
Swift
@objc public protocol EventReporter -
Declaration
Swift
@objc public protocol EventReporterFactory -
See moreEventSenderhandles the sending of ingestion recordDeclaration
Swift
@objc public protocol EventSender -
See moreDataMessasgeObserverhandles data message event,Declaration
Swift
@objc public protocol DataMessageObserver -
RealtimeControllerFacadecontrols aspects meetings concerning realtime UX that for performance, privacy, or other reasons should be implemented using the most direct path. Callbacks generated by this interface should be consumed synchronously and without business logic dependent on the UI state where possible.Events will be passed through
See moreRealtimeObserver, which in turn provides consumers the volume/mute/signal/attendee callbacks that can be used to render in the UI.Declaration
Swift
@objc public protocol RealtimeControllerFacade -
See moreRealtimeObserverhandles event that happens in realtime, such as delta in attendees join or leave, volume/signal status.Declaration
Swift
@objc public protocol RealtimeObserver -
See moreTranscriptEventObserverprovides a callback to handle transcript eventDeclaration
Swift
@objc public protocol TranscriptEventObserver -
Declaration
Swift
@objc public protocol MeetingSession -
See moreLoggerdefines how to write logs for different logging level.Declaration
Swift
@objc public protocol Logger
Protocols Reference