AgoraRtcDeviceInfo
提供设备信息的类。
Objective-C
__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;
@property(copy, nonatomic) NSString *_Nullable deviceTypeName;
@end
type
设备类型。详见 AgoraMediaDeviceType。
deviceId
设备 ID。
deviceName
设备名称。
deviceTypeName
音频设备的类型,例如内置设备、USB 和 HDMI。