class DeviceState

Defined at line 18 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.policy/fuchsia.hardware.usb.policy/cpp/fidl/fuchsia.hardware.usb.policy/cpp/common_types.h

Device States mirrors the descriptions in Section 9.1 of the USB 2.0 spec

Public Members

static DeviceState kNotAttached
static DeviceState kAttached
static DeviceState kPowered
static DeviceState kDefault
static DeviceState kAddress
static DeviceState kConfigured
static DeviceState kSuspended

Public Methods

void DeviceState ()

Defined at line 44 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.policy/fuchsia.hardware.usb.policy/cpp/fidl/fuchsia.hardware.usb.policy/cpp/common_types.h

void DeviceState (uint32_t value)

Defined at line 45 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.policy/fuchsia.hardware.usb.policy/cpp/fidl/fuchsia.hardware.usb.policy/cpp/common_types.h

EnumForSwitching_ operator fuchsia_hardware_usb_policy::DeviceState::EnumForSwitching_ ()

Defined at line 46 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.policy/fuchsia.hardware.usb.policy/cpp/fidl/fuchsia.hardware.usb.policy/cpp/common_types.h

uint32_t operator unsigned int ()

Defined at line 47 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.policy/fuchsia.hardware.usb.policy/cpp/fidl/fuchsia.hardware.usb.policy/cpp/common_types.h

bool IsUnknown ()

Defined at line 49 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.policy/fuchsia.hardware.usb.policy/cpp/fidl/fuchsia.hardware.usb.policy/cpp/common_types.h

DeviceState Unknown ()

Returns an enum corresponding to the member designated as

in the

FIDL schema if exists, or a compiler-reserved unknown value otherwise.

Defined at line 72 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.policy/fuchsia.hardware.usb.policy/cpp/fidl/fuchsia.hardware.usb.policy/cpp/common_types.h