FlutterCallkeep class
- Inheritance
-
- Object
- EventManager
- FlutterCallkeep
Constructors
- FlutterCallkeep()
-
factory
Properties
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(
{required String uuid, required String handle, String callerName = '', String handleType = 'number', bool hasVideo = false, Map< String, dynamic> additionalData = const {}}) → 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(
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> -
hasPermissions(
) → 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> (ValueChanged< T> listener) → 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> (ValueChanged< T> listener) → void -
inherited
-
reportConnectedOutgoingCallWithUUID(
String uuid) → Future< void> -
reportConnectingOutgoingCallWithUUID(
String uuid) → Future< void> -
reportEndCallWithUUID(
{required String uuid, required int reason, bool notify = true}) → Future< void> -
reportStartedCallWithUUID(
String uuid) → Future< void> -
reportUpdatedCall(
{required String uuid, required String callerName}) → Future< void> -
requestPermissions(
[List< String> ? optionalPermissions]) → Future<bool> -
sendDTMF(
{required String uuid, required String key}) → Future< void> -
setAvailable(
{bool available = true}) → Future< void> -
setCurrentCallActive(
String callUUID) → Future< void> -
setForegroundServiceSettings(
{required Map< String, String> settings}) → Future<void> -
setMutedCall(
{required String uuid, required bool shouldMute}) → Future< void> -
setOnHold(
{required String uuid, required bool shouldHold}) → Future< void> -
setReachable(
{bool reachable = true}) → Future< void> -
setup(
{Future< bool> showAlertDialog()?, required Map<String, dynamic> options, bool backgroundMode = false}) → Future<void> -
startCall(
{required String uuid, required String handle, required String callerName, String handleType = 'number', bool hasVideo = false, Map< String, dynamic> additionalData = const {}}) → Future<void> -
toString(
) → String -
A string representation of this object.
inherited
-
updateDisplay(
{required String uuid, required String callerName, required String handle}) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited