FlutterCallkitPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FlutterCallkitPlatform
Implementers

Constructors

FlutterCallkitPlatform.new()
Constructs a WebCallkitPlatform.

Properties

callStream Stream<Iterable<CKCall>>
no setter
configuration CKConfiguration
no getter
eventStream Stream<CallEvent>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCall(String uuid) Future<CKCall?>
Get a call currently in the callkit UI.
getCalls() Future<Iterable<CKCall>>
Get all calls currently in the callkit UI.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onCallAction(CKCallResult result) Future<void>
onStateChange(CKCall call) Future<void>
reportCallDisconnected(String uuid, {required DisconnectResponse response}) Future<void>
Report that a call was disconnected with a response DisconnectResponse.
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.
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.
updateCallCapabilities(String uuid, {required Set<CallKitCapability> capabilities}) Future<CKCall?>
Update the call capabilities of a call in the callkit UI.
updateCallData(String uuid, {required Map<String, dynamic> data}) Future<CKCall?>
Update the call data of a call in the callkit UI.
updateCallStatus(String uuid, {required CallState callStatus}) Future<CKCall?>
Update the call status of a call in the callkit UI.
updateCallType(String uuid, {required CallType callType}) Future<CKCall?>
Update the call type of a call in the callkit UI.

Operators

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

Static Properties

instance FlutterCallkitPlatform
The default instance of WebCallkitPlatform to use.
getter/setter pair