NotificationService class Services

The NotificationService allows inviting participants to a conference.

Constructors

NotificationService()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

decline(Conference conference) Future<void>
Declines an invitation to a specific conference.
invite(Conference conference, List<ParticipantInvited> participants) Future<void>
Notifies conference participants about a conference invitation. The participants parameter gathers a list of participants who should be invited to a specific conference defined in the conference parameter.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
onActiveParticipants() Stream<Event<NotificationServiceEventNames, ActiveParticipantsNotificationData>>
Returns a Stream of the NotificationServiceEventNames.activeParticipants events. By subscribing to the returned stream you will be notified about changes of active participants.
onConferenceCreated() Stream<Event<NotificationServiceEventNames, ConferenceCreatedNotificationData>>
Returns a Stream of the NotificationServiceEventNames.conferenceCreated events. By subscribing to the returned stream you will be notified whenever a new conference is created.
onConferenceEnded() Stream<Event<NotificationServiceEventNames, ConferenceEndedNotificationData>>
Returns a Stream of the NotificationServiceEventNames.conferenceEnded events. By subscribing to the returned stream you will be notified whenever a conference ends.
onConferenceStatus() Stream<Event<NotificationServiceEventNames, ConferenceStatusNotificationData>>
Returns a Stream of the NotificationServiceEventNames.conferenceStatus events. By subscribing to the returned stream you will be notified about conference status.
onInvitationReceived() Stream<Event<NotificationServiceEventNames, InvitationReceivedNotificationData>>
Returns a Stream of the NotificationServiceEventNames.invitationReceived events. By subscribing to the returned stream you will be notified about new conference invitations.
onParticipantJoined() Stream<Event<NotificationServiceEventNames, ParticipantJoinedNotificationData>>
Returns a Stream of the NotificationServiceEventNames.participantJoined events. By subscribing to the returned stream you will be notified when participants join the conference.
onParticipantLeft() Stream<Event<NotificationServiceEventNames, ParticipantLeftNotificationData>>
Returns a Stream of the NotificationServiceEventNames.participantLeft events. By subscribing to the returned stream you will be notified when participants leave the conference.
subscribe(List<Subscription> events) Future<void>
Subscribes to the specified notifications. events - An array of the subscribed subscription types.
toString() String
A string representation of this object.
inherited
unsubscribe(List<Subscription> events) Future<void>
Unsubscribes from the specified notifications. events An array of the subscribed subscription types.

Operators

operator ==(Object other) bool
The equality operator.
inherited