Device Type
设备类型
此枚举定义了可用的设备类型。
响应场景
| 类型 | 值 | 描述 |
MICROPHONE | 0 | 麦克风类型 |
CAMERA | 1 | 摄像头类型 |
SCREEN_SHARE | 2 | 屏幕分享类型 |
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.