MethodChannelStreamVideoPushNotification class

An implementation of StreamVideoPushNotificationPlatform that uses method channels.

Inheritance

Properties

eventChannel EventChannel
final
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
onEvent Stream<RingingEvent?>
Listen to event callback from Ringing flow.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

activeCalls() Future
Get active calls. On iOS: return active calls from Callkit. On Android: only return last call
override
canUseFullScreenIntent() Future<bool>
Check can use full screen intent for Android(14)+ Only Android: canUseFullScreenIntent permission for ACTION_MANAGE_APP_USE_FULL_SCREEN_INTENT
override
endAllCalls() Future<void>
End all calls.
override
endCall(String id) Future<void>
End an Incoming/Outgoing call. On iOS, using Callkit(update a history into the Phone app). On Android, Nothing(only callback event listener).
override
ensureFullScreenIntentPermission() Future<void>
Only Android: show request permission for ACTION_MANAGE_APP_USE_FULL_SCREEN_INTENT
override
getDevicePushTokenVoIP() Future<String>
Get device push token VoIP. On iOS: return deviceToken for VoIP. On Android: return Empty
override
hideIncomingCall(StreamVideoPushParams params) Future<void>
Hide notification call for Android. Only Android
override
holdCall(String id, {bool isOnHold = true}) Future<void>
Hold an Ongoing call. On iOS, using Callkit(update the ongoing call ui). On Android, Nothing(only callback event listener).
override
init(Map<String, dynamic> pushConfiguration) Future<void>
override
isMuted(String id) Future<bool>
Get Callkit Mic Status (muted/unmuted). On iOS, using Callkit(update call ui). On Android, Nothing(only callback event listener).
override
muteCall(String id, {bool isMuted = true}) Future<void>
Muting an Ongoing call. On iOS, using Callkit(update the ongoing call ui). On Android, Nothing(only callback event listener).
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestNotificationPermission(dynamic data) Future<void>
Request permission show notification for Android(13) Only Android: show request permission post notification for Android 13+
override
setCallConnected(String id) Future<void>
Set call has been connected successfully. On iOS, using Callkit(update a history into the Phone app). On Android, Nothing(only callback event listener).
override
showIncomingCall(StreamVideoPushParams params) Future<void>
Show Incoming ringing call. On iOS, using Callkit. On Android, using a custom UI.
override
showMissCallNotification(StreamVideoPushParams params) Future<void>
Show Miss Call Notification. Only Android
override
silenceEvents() Future<void>
Silence Ringing events
override
startCall(StreamVideoPushParams params) Future<void>
Start an Outgoing call. On iOS, using Callkit(create a history into the Phone app). On Android, Nothing(only callback event listener).
override
toString() String
A string representation of this object.
inherited
unsilenceEvents() Future<void>
Unsilence Ringing events
override

Operators

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