harmony 鸿蒙UsbPortStatus

  • 2025-06-16
  • 浏览 (6)

UsbPortStatus

概述

USB设备端口状态参数

起始版本: 5.1

相关模块:HdiUsb

汇总

成员变量

名称 描述
int currentMode 当前模式。
int currentPowerRole 当前供电角色。
int currentDataRole 当前角色数据。

结构体成员变量说明

currentDataRole

int UsbPortStatus::currentDataRole

描述

当前角色数据。

currentMode

int UsbPortStatus::currentMode

描述

当前模式。

currentPowerRole

int UsbPortStatus::currentPowerRole

描述

当前供电角色。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙USB HDI 参考

harmony 鸿蒙HdiUsb

harmony 鸿蒙HdiUsb(V1_1)

harmony 鸿蒙HdiUsb(V1_2)

harmony 鸿蒙HdiUsb(V2_0)

harmony 鸿蒙HdiUsbfnMtp

harmony 鸿蒙IUsbDeviceInterface.idl

harmony 鸿蒙IUsbHostInterface.idl

harmony 鸿蒙IUsbInterface.idl

harmony 鸿蒙IUsbInterface.idl

0  赞