NotificationCenter

The NotificationCenter model represents an interface that is responsible for providing the VideoCapturer on demand for the Media Engine. Implements are responsible for tracking the capturers that are sent to the engine. The SDK does not manage the switch when a switchable capturer is provided. The switch needs to be managed by the provider.

Functions

Link copied to clipboard
Method called by the SDK when WebSocket or a plugin receives a push notification concerning a cancelled invitation.
Link copied to clipboard
open fun onInvitationReceived(@NonNull context: Context, @NonNull invitationBundle: InvitationBundle)
Method called by the SDK when a WebSocket or a plugin receives a push notification concerning an invitation.
Link copied to clipboard
open fun register(@NonNull notificationMode: NotificationMode, @Nullable invitationProvider: IIncomingInvitationListener): NotificationCenter
Registers the IIncomingInvitationListener model dedicated to the NotificationMode and replaces the prevoiusly used model if the NotificationMode has already an attached listener.
open fun register(@NonNull notificationMode: NotificationMode, @NonNull filter: VersionFilter): NotificationCenter
Registers the VersionFilter model for the specified NotificationMode.
Link copied to clipboard
Changes the notification management mode into the enforcedNotificationMode.