public static enum AccessToken2.PrivilegeRtc extends Enum<AccessToken2.PrivilegeRtc>
枚举常量和说明 |
---|
PRIVILEGE_JOIN_CHANNEL |
PRIVILEGE_PUBLISH_AUDIO_STREAM |
PRIVILEGE_PUBLISH_DATA_STREAM |
PRIVILEGE_PUBLISH_VIDEO_STREAM |
限定符和类型 | 字段和说明 |
---|---|
short |
intValue |
限定符和类型 | 方法和说明 |
---|---|
static AccessToken2.PrivilegeRtc |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static AccessToken2.PrivilegeRtc[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final AccessToken2.PrivilegeRtc PRIVILEGE_JOIN_CHANNEL
public static final AccessToken2.PrivilegeRtc PRIVILEGE_PUBLISH_AUDIO_STREAM
public static final AccessToken2.PrivilegeRtc PRIVILEGE_PUBLISH_VIDEO_STREAM
public static final AccessToken2.PrivilegeRtc PRIVILEGE_PUBLISH_DATA_STREAM
public static AccessToken2.PrivilegeRtc[] values()
for (AccessToken2.PrivilegeRtc c : AccessToken2.PrivilegeRtc.values()) System.out.println(c);
public static AccessToken2.PrivilegeRtc valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值Copyright © 2024. All rights reserved.