class PlugState

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

Plug state for the interconnect.

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

respond to `WatchElementState` only the first time it is called for a given interconnect, with

`plugged` set to true and `plug_state_time` set to time '0'.

Public Methods

void PlugState (Storage_ storage)
void PlugState ()

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

void PlugState (PlugState && )

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

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

Defined at line 178 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio.signalprocessing/fuchsia.hardware.audio.signalprocessing/cpp/fidl/fuchsia.hardware.audio.signalprocessing/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 ()

Indicates whether the interconnect is currently plugged in.

Required

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

Indicates whether the interconnect is currently plugged in.

Required

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

Indicates whether the interconnect is currently plugged in.

Required

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

Indicates when the current `plugged` state was set, using `ZX_CLOCK_MONOTONIC`.

Cannot be negative.

Required.

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

Indicates when the current `plugged` state was set, using `ZX_CLOCK_MONOTONIC`.

Cannot be negative.

Required.

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

Indicates when the current `plugged` state was set, using `ZX_CLOCK_MONOTONIC`.

Cannot be negative.

Required.

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

Friends

class MemberVisitor
class NaturalTableCodingTraits