StreamVideoPushNotificationManager class

Implementation of PushNotificationManager for Stream Video.

Properties

androidPushProvider StreamVideoPushProvider
final
callerCustomizationCallback CallerCustomizationFunction?
final
hashCode int
The hash code for this object.
no setterinherited
iosPushProvider StreamVideoPushProvider
final
onCallEvent Stream<CallKitEvent>
Stream of CallKitEvent for call-related events.
no setter
pushParams StreamVideoPushParams
final
registerApnDeviceToken bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

activeCalls() Future<List<CallData>>
Retrieves a list of active calls.
dispose() Future<void>
Disposes of the notification manager.
endAllCalls() Future<void>
Ends all ongoing calls.
endCall(String uuid) Future<void>
Ends the call.
endCallByCid(String cid) Future<void>
getDevicePushTokenVoIP() Future<String?>
Obtains the device's push token for VoIP.
holdCall(String uuid, {bool isOnHold = true}) Future<void>
Holds or unholds the call.
muteCall(String uuid, {bool isMuted = true}) Future<void>
Mutes or unmutes the call.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerDevice() → void
Registers the device for push notifications. Internal use only.
removedStoredTokens() Future<void>
setCallConnected(String uuid) Future<void>
Sets the call status to connected.
showIncomingCall({required String uuid, required String callCid, String? avatar, String? handle, String? nameCaller, bool hasVideo = true}) Future<void>
Displays an incoming call notification.
showMissedCall({required String uuid, required String callCid, String? avatar, String? handle, String? nameCaller, bool hasVideo = true}) Future<void>
Displays a missed call notification.
startOutgoingCall({required String uuid, required String callCid, String? avatar, String? handle, String? nameCaller, bool hasVideo = true}) Future<void>
Initiates an outgoing call.
toString() String
A string representation of this object.
inherited
unregisterDevice() → void
Unregisters the device for push notifications. Internal use only.

Operators

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

Static Methods

create({required StreamVideoPushProvider iosPushProvider, required StreamVideoPushProvider androidPushProvider, CallerCustomizationFunction? callerCustomizationCallback, BackgroundVoipCallHandler? backgroundVoipCallHandler, StreamVideoPushParams? pushParams, bool registerApnDeviceToken = false}) → dynamic
Factory for creating a new instance of StreamVideoPushNotificationManager. /// Parameters:

Constants

userDeviceTokenKey → const String
userDeviceTokenVoIPKey → const String