GazeDevicePreview.GetBooleanControlDescriptions(UInt16, UInt16) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索眼动跟踪设备的布尔控件说明。
public:
virtual IVectorView<HidBooleanControlDescription ^> ^ GetBooleanControlDescriptions(unsigned short usagePage, unsigned short usageId) = GetBooleanControlDescriptions;
IVectorView<HidBooleanControlDescription> GetBooleanControlDescriptions(uint16_t const& usagePage, uint16_t const& usageId);
public IReadOnlyList<HidBooleanControlDescription> GetBooleanControlDescriptions(ushort usagePage, ushort usageId);
function getBooleanControlDescriptions(usagePage, usageId)
Public Function GetBooleanControlDescriptions (usagePage As UShort, usageId As UShort) As IReadOnlyList(Of HidBooleanControlDescription)
参数
- usagePage
-
UInt16
unsigned short
uint16_t
眼动跟踪设备的使用情况页。
- usageId
-
UInt16
unsigned short
uint16_t
眼动跟踪设备的使用标识符。
返回
HidNumericControlDescription 对象的向量。