ZegoUIKitPrebuiltCallController class
Used to control the call functionality.
ZegoUIKitPrebuiltCallController is a singleton instance class, you can directly invoke it by ZegoUIKitPrebuiltCallController().
If the default call UI and interactions do not meet your requirements, you can use this ZegoUIKitPrebuiltCallController to actively control the business logic.
If you use invitation
series API about, you must init
by
ZegoUIKitPrebuiltCallInvitationService firstly.
Constructors
- ZegoUIKitPrebuiltCallController()
-
factory
Properties
- audioVideo → ZegoCallControllerAudioVideoImpl
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- invitation → ZegoCallControllerInvitationImpl
-
no setterinherited
- isMinimizing → bool
-
Available on ZegoUIKitPrebuiltCallController, provided by the ZegoUIKitPrebuiltCallControllerDeprecated extension
no setter - minimize → ZegoCallControllerMinimizingImpl
-
no setterinherited
- permission → ZegoCallControllerPermissionImpl
-
no setterinherited
- pip → ZegoCallControllerPIPImpl
-
no setterinherited
- private → ZegoCallControllerPrivateImpl
-
Don't call that
no setterinherited
- room → ZegoCallControllerRoomImpl
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenSharing → ZegoCallControllerScreenSharingImpl
-
no setterinherited
- screenSharingViewController → ZegoScreenSharingViewController
-
Available on ZegoUIKitPrebuiltCallController, provided by the ZegoUIKitPrebuiltCallControllerDeprecated extension
no setter - user → ZegoCallControllerUserImpl
-
no setterinherited
Methods
-
acceptCallInvitation(
{String customData = ''}) → Future< bool> -
Available on ZegoUIKitPrebuiltCallController, provided by the ZegoUIKitPrebuiltCallControllerInvitationDeprecated extension
-
cancelCallInvitation(
{required List< ZegoCallUser> callees, String customData = ''}) → Future<bool> -
Available on ZegoUIKitPrebuiltCallController, provided by the ZegoUIKitPrebuiltCallControllerInvitationDeprecated extension
-
hangUp(
BuildContext context, {bool showConfirmation = false, ZegoCallEndReason reason = ZegoCallEndReason.localHangUp}) → Future< bool> - This function is used to end the current call.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rejectCallInvitation(
{String customData = ''}) → Future< bool> -
Available on ZegoUIKitPrebuiltCallController, provided by the ZegoUIKitPrebuiltCallControllerInvitationDeprecated extension
-
sendCallInvitation(
{required List< ZegoCallUser> invitees, required bool isVideoCall, String customData = '', String? callID, String? resourceID, String? notificationTitle, String? notificationMessage, int timeoutSeconds = 60}) → Future<bool> -
Available on ZegoUIKitPrebuiltCallController, provided by the ZegoUIKitPrebuiltCallControllerInvitationDeprecated extension
-
showScreenSharingViewInFullscreenMode(
String userID, bool isFullscreen) → void -
Available on ZegoUIKitPrebuiltCallController, provided by the ZegoUIKitPrebuiltCallControllerDeprecated extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited