TwilioVoice class

Properties

call Call
latefinal
callEventsListener Stream<CallEvent>
Sends call events
no setter
deviceTokenChanged OnDeviceTokenChanged?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showMissedCallNotifications bool
Wheter or not should the user receive a notification after a missed call, default to true.
no getter

Methods

hasMicAccess() Future<bool>
Checks if device has microphone permission
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerClient(String clientId, String clientName) Future<bool?>
Register clientId for background calls
requestBackgroundPermissions() Future<bool?>
Requests background permission
requestMicAccess() Future<bool?>
Request microphone permission
requiresBackgroundPermissions() Future<bool>
Checks if device needs background permission
setDefaultCallerName(String callerName) Future<bool?>
Set default caller name for no registered clients
setOnDeviceTokenChanged(OnDeviceTokenChanged deviceTokenChanged) → void
setTokens({required String accessToken, String? deviceToken}) Future<bool?>
register fcm token, and device token for android
showBackgroundCallUI() Future<bool?>
Android-only, shows background call UI
toString() String
A string representation of this object.
inherited
unregister({String? accessToken}) Future<bool?>
Unregisters from Twilio
unregisterClient(String clientId) Future<bool?>
Unegister clientId for background calls

Operators

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

Static Properties

instance TwilioVoice
no setter