MethodChannelCallWatcher class

An implementation of CallWatcherPlatform that uses method channels.

Implemented types

Constructors

MethodChannelCallWatcher()

Properties

hashCode → int
The hash code for this object.
no setterinherited
methodChannel → MethodChannel
The method channel used to interact with the native platform.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearCallLogs() → Future<void>
override
endCurrentCall() → Future<int?>
override
getCallLogs({int limit = 100}) → Future<List<CallLogEntry>?>
override
getLastCalledNumber() → Future<String?>
override
getQueryCallLogs(LogQuery query) → Future<List<CallLogEntry>?>
override
initiateCall(String number) → Future<int?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toggleHoldCall() → Future<int?>
override
toggleMuteCall() → Future<int?>
override
toggleSpeaker() → Future<int?>
override
toString() → String
A string representation of this object.
inherited

Operators

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