CallManager class

Constructors

CallManager.new()

Properties

appKey String?
no setter
extraConfig NEExtraConfig?
no setter
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<NEResult>
backCallingPageFormFloatWindow() → void
call(String accountId, NECallType callMediaType, [NECallParams? params]) Future<NEResult>
closeCamera() Future<void>
closeMicrophone([bool notify = true]) Future<void>
enableFloatWindow(bool enable) Future<void>
enableIncomingBanner(bool enable) → void
enableVirtualBackground(bool enable) Future<void>
enableWakeLock(bool enable) Future<void>
handleAppEnterForeground() → void
handleLoginSuccess(String accountId, String token) → void
handleLogoutSuccess() → void
hangup() Future<NEResult>
initAudioPlayDeviceAndCamera() → void
isSamsungDevice() Future<bool>
isScreenLocked() Future<bool>
launchCallingPage() → void
login(String appKey, String accountId, String token, {NECertificateConfig? certificateConfig, NEExtraConfig? extraConfig}) Future<NEResult>
logout() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openCamera(NECamera camera, int viewId) Future<NEResult>
openFloatWindow() → void
openLockScreenApp() → void
openMicrophone([bool notify = true]) Future<NEResult>
pullBackgroundApp() → void
reject() Future<NEResult>
requestFloatPermission() Future<void>
setBlurBackground(bool enable) Future<void>
setCallingBell(String assetName) Future<void>
setSelfInfo(String nickname, String avatar) Future<NEResult>
setSpeakerphoneOn(bool enable) Future<void>
setupEngine(String appKey, String accountId, {NEExtraConfig? extraConfig}) Future<void>
setupLocalView(int viewId) Future<void>
setupRemoteView(String userId, int viewId) Future<void>
showIncomingBanner() → void
showToast(String string) → void
stopRemoteView(String userId) Future<void>
switchCallMediaType(NECallType mediaType, NECallSwitchState state) Future<void>
switchCamera(NECamera camera) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance CallManager
no setter