AgoraRtcDeviceInfo

  • macOS

更新时间不可用

提供设备信息的类。

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。

表格内容超出当前宽度,可横向滚动查看更多列。

这个页面有帮助吗?