MethodChannelCometchatcallsPlugin class
An implementation of CometchatcallsPluginPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- CometchatcallsPluginPlatform
- MethodChannelCometchatcallsPlugin
Constructors
Properties
- callSettings ↔ CallSettings?
-
getter/setter pair
- callsEventsStreamChannel ↔ EventChannel
-
getter/setter pair
-
creationParams
↔ Map<
String, dynamic> -
getter/setter pair
- globalCallListener ↔ CometChatCallsEventsListener?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSDKInitialized ↔ bool
-
getter/setter pair
- methodChannel → MethodChannel
-
final
- nativeStream ↔ Stream?
-
getter/setter pair
- presentationSettings ↔ PresentationSettings?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tag → String
-
final
Methods
-
endSession(
dynamic onSuccess(String success), dynamic onError(CometChatCallsException e)) → void -
override
-
enterPIPMode(
dynamic onSuccess(String success), dynamic onError(CometChatCallsException e)) → void -
override
-
exitPIPMode(
dynamic onSuccess(String success), dynamic onError(CometChatCallsException e)) → void -
override
-
generateToken(
String sessionId, String userAuthToken, dynamic onSuccess(GenerateToken generateToken), dynamic onError(CometChatCallsException error)) → void -
override
-
getCallDetails(
String sessionId, String userAuthToken, dynamic onSuccess(List< CallLog> callLog), dynamic onError(CometChatCallsException error)) → void -
override
-
getCometChatCallingView(
String callToken, CallSettings? callSettings, PresentationSettings? presentationSettings) → Future< Map> -
initCometChatCalls(
CallAppSettings callAppSettings, dynamic onSuccess(String success), dynamic onError(CometChatCallsException e)) → void -
override
-
initializeCallsEventStream(
) → void -
isInitialized(
) → Future< bool> -
override
-
joinPresentation(
String callToken, PresentationSettings presentationSettings, dynamic onSuccess(Widget callWidget), dynamic onError(CometChatCallsException error)) → Future< Widget?> -
override
-
muteAudio(
bool muteAudio, dynamic onSuccess(String success), dynamic onError(CometChatCallsException e)) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pauseVideo(
bool pauseVideo, dynamic onSuccess(String success), dynamic onError(CometChatCallsException e)) → void -
override
-
setAudioMode(
String setAudioMode, dynamic onSuccess(String success), dynamic onError(CometChatCallsException e)) → void -
override
-
setUpNativeStreamListener(
String callToken, CallSettings? callSettings, PresentationSettings? presentationSettings, dynamic onSuccess(Widget callWidget), dynamic onError(CometChatCallsException error)) → Future< bool> -
override
-
startRecording(
dynamic onSuccess(String success), dynamic onError(CometChatCallsException e)) → void -
override
-
startSession(
String callToken, CallSettings callSettings, dynamic onSuccess(Widget callWidget), dynamic onError(CometChatCallsException error)) → Future< Widget?> -
override
-
stopRecording(
dynamic onSuccess(String success), dynamic onError(CometChatCallsException e)) → void -
override
-
switchCamera(
dynamic onSuccess(String success), dynamic onError(CometChatCallsException e)) → void -
override
-
switchToVideoCall(
dynamic onSuccess(String success), dynamic onError(CometChatCallsException e)) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited