MethodChannelFlutterCallKit class
Methods
-
getCall(String uuid)
→ Future<CKCall?>
-
Get a call currently in the callkit UI.
override
-
getCalls()
→ Future<Iterable<CKCall>>
-
Get all calls currently in the callkit UI.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onCallAction(CKCallResult result)
→ Future<void>
-
override
-
onStateChange(CKCall call)
→ Future<void>
-
override
-
reportCallDisconnected(String uuid, {required DisconnectResponse response})
→ Future<void>
-
Report that a call was disconnected with a response DisconnectResponse.
override
-
reportNewCall({required String uuid, required String handle, Set<CallKitCapability>? capabilities, Set<CallAttributes>? attributes, Map<String, dynamic>? data})
→ Future<CKCall>
-
Register a new call with the kit. This adds a new call to the callkit UI and handles according to call lifecycle defined in CallState.
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateCallAttributes(String uuid, {required Set<CallAttributes> attributes, Map<String, dynamic>? data})
→ Future<CKCall?>
-
Update the call attributes of a call in the callkit UI.
If data is provided, it will be merged with the existing data and overwrite any existing keys.
override
-
updateCallCapabilities(String uuid, {required Set<CallKitCapability> capabilities})
→ Future<CKCall?>
-
Update the call capabilities of a call in the callkit UI.
override
-
updateCallData(String uuid, {required Map<String, dynamic> data})
→ Future<CKCall?>
-
Update the call data of a call in the callkit UI.
override
-
updateCallStatus(String uuid, {required CallState callStatus})
→ Future<CKCall?>
-
Update the call status of a call in the callkit UI.
override
-
updateCallType(String uuid, {required CallType callType})
→ Future<CKCall?>
-
Update the call type of a call in the callkit UI.
override