NERtcAudioSessionOperationRestriction enum

音频会话控制权限。 控制SDK 对 Audio Session 的控制权限, 仅iOS平台有效。

Inheritance
  • Object
  • Enum
  • NERtcAudioSessionOperationRestriction
Available extensions

Values

none → const NERtcAudioSessionOperationRestriction

没有限制,SDK 可以完全控制 Audio Session 操作。

all → const NERtcAudioSessionOperationRestriction

限制 SDK 对 Audio Session 进行任何操作,SDK 将不能再对 Audio Session 进行任何配置。

deactivateSession → const NERtcAudioSessionOperationRestriction

离开房间时,SDK 会保持 Audio Session 处于活动状态。

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<NERtcAudioSessionOperationRestriction>
A constant List of the values in this enum, in order of their declaration.