# AgoraRtcDeviceInfo (/zh-CN/api-reference/rtc/macos/class-agorartcdeviceinfo) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ```objc __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 ``` ## 属性 [#属性] 设备类型。详见 [AgoraMediaDeviceType](/zh-CN/api-reference/rtc/macos/enum-mediadevicetype)。 设备 ID。 设备名称。 音频设备的类型,例如内置设备、USB 和 HDMI。