CallKitApi class
Constructors
- CallKitApi({BinaryMessenger? binaryMessenger})
-
Constructor for CallKitApi. The
binaryMessengernamed argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
accept(
) → Future< CallResponse> -
call(
CallParam arg_param) → Future< CallResponse> -
destroy(
) → Future< SimpleResponse> -
enableLocalVideo(
bool arg_enable) → Future< SimpleResponse> -
getCallConfig(
) → Future< CallConfig?> -
getCallInfo(
) → Future< CallInfo?> -
getUserWithRtcUid(
int arg_uid) → Future< UserInfo?> -
getVersion(
) → Future< String> -
hangup(
HangupParam arg_param) → Future< SimpleResponse> -
isSpeakerphoneOn(
) → Future< bool> -
muteLocalAudio(
bool arg_muted) → Future< SimpleResponse> -
muteLocalVideo(
bool arg_muted) → Future< SimpleResponse> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCallConfig(
CallConfig arg_config) → Future< SimpleResponse> -
setCallRecordProvider(
bool arg_enable) → Future< SimpleResponse> -
setSpeakerphoneOn(
bool arg_enable) → Future< SimpleResponse> -
setTimeout(
int arg_time) → Future< SimpleResponse> -
setup(
SetupConfig arg_config) → Future< SimpleResponse> -
setupLocalView(
ViewParam arg_param) → Future< SimpleResponse> -
setupRemoteView(
ViewParam arg_param) → Future< SimpleResponse> -
startASRCaption(
NERtcASRCaptionConfig arg_config) → Future< SimpleResponse> -
stopASRCaption(
) → Future< SimpleResponse> -
switchCallType(
SwitchParam arg_param) → Future< SimpleResponse> -
switchCamera(
) → Future< SimpleResponse> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
codec
→ const MessageCodec<
Object?>