MethodChannelFlutterAliOttHotline class

An implementation of FlutterAliOttHotlinePlatform that uses method channels.

Inheritance

Properties

eventChannel EventChannel
final
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
notificationService → ALIOTTNotificationService
final
onCallConnectedChange CallConnectedChangeCallback?
getter/setter pair
onCallStateChange CallStateChangeCallback?
getter/setter pair
onInitFail VoidCallback?
getter/setter pair
onInitSuccess VoidCallback?
getter/setter pair
onRequestShowCall RequestShowCallCallback?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

config(String environment, ALIOTTHotlineConfig hotlineConfig, {IOSCallKit? iOSCallKit, String? customOnHoldSound, double? timeoutForOutgoingCall}) → void
override
endCall() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCallEventCallbacks({CallStateChangeCallback? onCallStateChange, CallConnectedChangeCallback? onCallConnectedChange}) → void
override
setEventCallbacks({VoidCallback? onInitSuccess, VoidCallback? onInitFail, RequestShowCallCallback? onRequestShowCall}) → void
override
setMuteCall(bool isOn) → void
override
setSpeakOn(bool isOn) → void
override
startHotlineCall(String callerId, String callerName, String? callerAvatar) → void
override
startListenCallEvent() → void
override
startListenEvent() Future<void>
override
stopListenCallEvent() → void
override
stopListenEvent() → void
override
toString() String
A string representation of this object.
inherited

Operators

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