FlutterIOSVoIPKit class
Constructors
- FlutterIOSVoIPKit()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onAudioSessionStateChanged ↔ OnAudioSessionStateChanged?
-
getter/setter pair
- onDidAcceptIncomingCall ↔ IncomingAction?
-
onDidAcceptIncomingCall and onDidRejectIncomingCall can be called even if the app is not running.
This is because the app is already running when the incoming call screen is displayed for CallKit.
If not called, make sure the app is calling onDidAcceptIncomingCall and onDidRejectIncomingCall in the Dart class(ex: main.dart) that is called immediately after the app is launched.
getter/setter pair
- onDidReceiveIncomingPush ↔ IncomingPush?
-
onDidReceiveIncomingPush is not called when the app is not running, because app is not yet running when didReceiveIncomingPushWith is called.
getter/setter pair
- onDidRejectIncomingCall ↔ IncomingAction?
-
getter/setter pair
- onDidUpdatePushToken ↔ OnUpdatePushToken?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
acceptIncomingCall(
{required CallStateType callerState}) → Future< void> -
callConnected(
) → Future< void> -
dispose(
) → Future< void> -
endCall(
) → Future< void> -
getIncomingCallerName(
) → Future< String?> -
getLocalNotificationsSettings(
) → Future< NotificationSettings> -
getVoIPToken(
) → Future< String?> - method channel
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestAuthLocalNotification(
) → Future< bool> -
startCall(
{required String uuid, required String targetName}) → Future< String?> -
testIncomingCall(
{required String uuid, required String callerId, required String callerName}) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
-
unansweredIncomingCall(
{bool skipLocalNotification = false, required String missedCallTitle, required String missedCallBody}) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → FlutterIOSVoIPKit
-
no setter