NECallKitUI class

Constructors

NECallKitUI()

Properties

canDriveCallingNavigation bool
no setter
hashCode int
The hash code for this object.
no setterinherited
hasNavigatorObserverBinding bool
no setter
isCallingPageOpen bool
no setter
isDesktopUiReuseEnabled bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldAwaitDesktopNavigatorBinding bool
no setter
shouldUseDesktopHelperCoordination bool
no setter
shouldUseDesktopNavigationOrchestration bool
no setter

Methods

call(String userId, NECallType callMediaType, [NECallParams? params]) Future<NEResult>
Make a call
enableFloatWindow(bool enable) Future<void>
Enable the floating window
enableFloatWindowOutOfApp(bool enable) Future<void>
启用/禁用应用外悬浮窗(画中画) 前提:需要先调用 enableFloatWindow(true)
enableIncomingBanner(bool enable) → void
enableVirtualBackground(bool enable) Future<void>
groupCall(NEGroupCallParam param, {void onInvitePressed(String callId)?}) Future<NEGroupCallResult>
发起群呼
groupInvite(List<String> userIds) Future<NEGroupInviteResult>
通话中邀请新成员
groupJoin(NEGroupJoinParam param, {void onInvitePressed(String callId)?}) Future<NEGroupJoinResult>
加入群呼
login(String appKey, String accountId, String token, {NECertificateConfig? certificateConfig, NEExtraConfig? extraConfig, NEGroupConfigParam? groupConfigParam}) Future<NEResult>
login NECallKit
logout() Future<void>
logout NECallKit
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
releaseEngine() → void
release NECallKit
setCallingBell(String assetName) Future<void>
Set the ringtone (preferably shorter than 30s)
setGroupInviteHandler(void onInvitePressed(String callId)?) → void
设置群呼邀请按钮回调(全局)
setSelfInfo(String nickname, String avatar) Future<NEResult>
Set user profile
setupEngine(String appKey, String accountId, {NEExtraConfig? extraConfig, NEGroupConfigParam? groupConfigParam}) Future<void>
init NECallKit
toString() String
A string representation of this object.
inherited

Operators

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