Audio Route
音频路由
此枚举定义了音频输出的路由位置。
响应场景
| 路由 | 值 | 描述 |
SPEAKERPHONE | 0 | 扬声器,适合外放音乐 |
EARPIECE | 1 | 听筒,适合需要保护隐私的通话场景 |
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.