class PlugState
Defined at line 8603 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.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 Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const bool & plugged ()
Driver is currently plugged in. Required
Defined at line 8610 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_plugged ()
Defined at line 8614 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool * mutable_plugged ()
Driver is currently plugged in. Required
Defined at line 8619 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_plugged ()
Defined at line 8627 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
const int64_t & plug_state_time ()
Timestamps the information provided in the rest of the fields of this struct. Required.
Defined at line 8636 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
bool has_plug_state_time ()
Defined at line 8640 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
int64_t * mutable_plug_state_time ()
Timestamps the information provided in the rest of the fields of this struct. Required.
Defined at line 8645 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
void clear_plug_state_time ()
Defined at line 8653 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/hlcpp/fuchsia/hardware/audio/cpp/fidl.h
PlugState & set_plugged (bool _value)
PlugState & set_plug_state_time (int64_t _value)
void PlugState ()
void PlugState (PlugState && other)
void ~PlugState ()
PlugState & operator= (PlugState && other)
::std::unique_ptr<PlugState> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, PlugState * _value, size_t _offset)
zx_status_t Clone (PlugState * _result)