class PlugState

Defined at line 6523 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/natural_types.h

Plug state as returned by the driver.

If the driver reports a `plug_detect_capabilities` equal to HARDWIRED, then the driver should

respond to `WatchPlugState` only the first time it is called, with `plugged` set to true and

`plug_state_time` set to time '0'.

Public Methods

void PlugState (Storage_ storage)
void PlugState ()

Defined at line 6528 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/natural_types.h

void PlugState (PlugState && )

Defined at line 6529 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/natural_types.h

void PlugState (const PlugState & other)
PlugState & operator= (PlugState && )

Defined at line 6530 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/natural_types.h

PlugState & operator= (const PlugState & other)
bool operator== (const PlugState & other)
bool operator!= (const PlugState & other)
bool IsEmpty ()
const std::optional<bool> & plugged ()

Driver is currently plugged in. Required

::std::optional<bool> & plugged ()

Driver is currently plugged in. Required

PlugState & plugged (std::optional<bool> value)

Driver is currently plugged in. Required

const std::optional<int64_t> & plug_state_time ()

Timestamps the information provided in the rest of the fields of this struct. Required.

::std::optional<int64_t> & plug_state_time ()

Timestamps the information provided in the rest of the fields of this struct. Required.

PlugState & plug_state_time (std::optional<int64_t> value)

Timestamps the information provided in the rest of the fields of this struct. Required.

void PlugState (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits