register
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.
Return
the current instance.
Parameters
notification Mode
valid NotificationMode that receives the provider
invitation Provider
instance to register
open fun register(@NonNull notificationMode: NotificationMode, @NonNull filter: VersionFilter): NotificationCenter
Registers the VersionFilter model for the specified NotificationMode.
Return
the current instance.
Parameters
notification Mode
valid NotificationMode that receives the filter
filter
filter to apply