频道场景。
Constants
-
Communication → const ChannelProfile
通信场景(默认)。 用于常见的一对一通话或群聊,频道中的任何用户可以自由说话。@JsonValue(0)
const ChannelProfile(0)
-
Game → const ChannelProfile
游戏语音场景。 频道内的任何一个可以自由对话。该模式默认采用低功耗低码率的编解码。@JsonValue(2)
const ChannelProfile(2)
-
LiveBroadcasting → const ChannelProfile
直播场景。 直播场景有主播和观众两种用户角色,可以通过
setClientRole
方法设置主播和观众的角色。 主播可以收发语音/视频流,而观众只能接收语音/视频,无法发送。@JsonValue(1)const ChannelProfile(1)
-
values → const List<ChannelProfile>
A constant List of the values in this enum, in order of their declaration.
const List<ChannelProfile>
Properties
-
The hash code for this object. [...]read-only, inherited
-
index → int
The integer index of this enum.final
-
A representation of the runtime type of the object.read-only, inherited
Methods
-
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]inherited
-
Returns a string representation of this object.override
Operators
-
operator ==(Object other) → bool
The equality operator. [...]inherited