AgoraRtcDeviceInfo
提供设备信息的类。
__attribute__((visibility("default"))) @interface AgoraRtcDeviceInfo : NSObject @property (assign, nonatomic) int __deprecated index; @property(assign, nonatomic) AgoraMediaDeviceType type; @property(copy, nonatomic) NSString *_Nullable deviceId; @property(copy, nonatomic) NSString *_Nullable deviceName; @end
属性
- type
- 设备类型,详见 AgoraMediaDeviceType。
- deviceId
- 设备 ID。
- deviceName
- 设备名称。