FlutterCallkeep class

Inheritance

Constructors

FlutterCallkeep()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
listeners Map<Type, List>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

activeCalls() Future<List<String>>
addAllEventHandlers(EventManager other) → void
add all event handlers from an other instance of EventManager to this one.
inherited
answerIncomingCall(String uuid) Future<void>
backToForeground() Future<bool>
checkIfBusy() Future<void>
checkSpeaker() Future<void>
displayIncomingCall(String uuid, String handle, {String localizedCallerName = '', String handleType = 'number', bool hasVideo = false}) Future<void>
emit<T extends EventType>(T event) → void
send the supplied event to all of the listeners that are subscribed to that EventType
inherited
endAllCalls() Future<void>
endCall(String uuid) Future<void>
eventListener(MethodCall call) Future<void>
hasDefaultPhoneAccount(BuildContext context, Map<String, dynamic> options) Future<bool>
hasListeners(EventType event) bool
returns true if there are any listeners associated with the EventType for this instance of EventManager
inherited
hasOutgoingCall() Future<bool>
hasPhoneAccount() FutureOr<bool>
isCallActive(String uuid) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on<T extends EventType>(T eventType, void listener(T event)) → void
call "on" to subscribe to events of a particular type
inherited
openPhoneAccounts() Future<void>
registerAndroidEvents() Future<void>
registerPhoneAccount() Future<void>
rejectCall(String uuid) Future<void>
remove<T extends EventType>(T eventType, void listener(T event)) → void
inherited
reportConnectedOutgoingCallWithUUID(String uuid) Future<void>
reportConnectingOutgoingCallWithUUID(String uuid) Future<void>
reportEndCallWithUUID(String uuid, int reason) Future<void>
reportUpdatedCall(String uuid, String localizedCallerName) Future<void>
sendDTMF(String uuid, String key) Future<void>
setAvailable(String state) Future<void>
setCurrentCallActive(String callUUID) Future<void>
setForegroundServiceSettings(Map<String, String> settings) Future<void>
setMutedCall(String uuid, bool shouldMute) Future<void>
setOnHold(String uuid, bool shouldHold) Future<void>
setReachable() Future<void>
setup(BuildContext? context, Map<String, dynamic> options, {bool backgroundMode = false}) Future<void>
startCall(String uuid, String number, String callerName, {String handleType = 'number', bool hasVideo = false}) Future<void>
toString() String
A string representation of this object.
inherited
updateDisplay(String uuid, {required String displayName, required String handle}) Future<void>

Operators

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