class MediaButtonsEvent
Defined at line 1922 of file fidling/gen/sdk/fidl/fuchsia.ui.input/fuchsia.ui.input/cpp/fidl/fuchsia.ui.input/cpp/natural_types.h
Public Methods
void MediaButtonsEvent (Storage_ storage)
bool IsEmpty ()
void MediaButtonsEvent ()
Defined at line 1927 of file fidling/gen/sdk/fidl/fuchsia.ui.input/fuchsia.ui.input/cpp/fidl/fuchsia.ui.input/cpp/natural_types.h
void MediaButtonsEvent (MediaButtonsEvent && )
Defined at line 1928 of file fidling/gen/sdk/fidl/fuchsia.ui.input/fuchsia.ui.input/cpp/fidl/fuchsia.ui.input/cpp/natural_types.h
::std::optional<bool> & mic_mute ()
MediaButtonsEvent & mic_mute (std::optional<bool> value)
Setter for mic_mute.
MediaButtonsEvent & operator= (MediaButtonsEvent && )
Defined at line 1929 of file fidling/gen/sdk/fidl/fuchsia.ui.input/fuchsia.ui.input/cpp/fidl/fuchsia.ui.input/cpp/natural_types.h
const std::optional<int8_t> & volume ()
Net volume change direction: +1 when volume up is pressed, -1 when
volume down is pressed, and 0 when neither or both are pressed.
Prefer `volume_up` and `volume_down` when discrete button states are
needed (for example, to detect simultaneous presses).
::std::optional<int8_t> & volume ()
Net volume change direction: +1 when volume up is pressed, -1 when
volume down is pressed, and 0 when neither or both are pressed.
Prefer `volume_up` and `volume_down` when discrete button states are
needed (for example, to detect simultaneous presses).
MediaButtonsEvent & volume (std::optional<int8_t> value)
Net volume change direction: +1 when volume up is pressed, -1 when
volume down is pressed, and 0 when neither or both are pressed.
Prefer `volume_up` and `volume_down` when discrete button states are
needed (for example, to detect simultaneous presses).
const std::optional<bool> & mic_mute ()
const std::optional<bool> & pause ()
::std::optional<bool> & pause ()
MediaButtonsEvent & pause (std::optional<bool> value)
Setter for pause.
const std::optional<bool> & camera_disable ()
::std::optional<bool> & camera_disable ()
MediaButtonsEvent & camera_disable (std::optional<bool> value)
Setter for camera_disable.
const std::optional<bool> & power ()
::std::optional<bool> & power ()
MediaButtonsEvent & power (std::optional<bool> value)
Setter for power.
const std::optional<bool> & function ()
::std::optional<bool> & function ()
MediaButtonsEvent & function (std::optional<bool> value)
Setter for function.
const std::optional<uint32_t> & device_id ()
::std::optional<uint32_t> & device_id ()
MediaButtonsEvent & device_id (std::optional<uint32_t> value)
Setter for device_id.
const std::optional< ::zx::eventpair> & wake_lease ()
Optional wake lease for power baton passing.
::std::optional< ::zx::eventpair> & wake_lease ()
Optional wake lease for power baton passing.
MediaButtonsEvent & wake_lease (std::optional< ::zx::eventpair> value)
Optional wake lease for power baton passing.
const std::optional<uint64_t> & trace_flow_id ()
Optional trace flow ID to connect the event flow.
::std::optional<uint64_t> & trace_flow_id ()
Optional trace flow ID to connect the event flow.
MediaButtonsEvent & trace_flow_id (std::optional<uint64_t> value)
Optional trace flow ID to connect the event flow.
const std::optional<bool> & volume_up ()
Whether the volume up button is pressed. Unlike `volume` (field 1),
which sums volume up (+1) and volume down (-1) and cancels out to 0
when both are pressed simultaneously, `volume_up` and `volume_down`
report each button's state independently.
::std::optional<bool> & volume_up ()
Whether the volume up button is pressed. Unlike `volume` (field 1),
which sums volume up (+1) and volume down (-1) and cancels out to 0
when both are pressed simultaneously, `volume_up` and `volume_down`
report each button's state independently.
MediaButtonsEvent & volume_up (std::optional<bool> value)
Whether the volume up button is pressed. Unlike `volume` (field 1),
which sums volume up (+1) and volume down (-1) and cancels out to 0
when both are pressed simultaneously, `volume_up` and `volume_down`
report each button's state independently.
const std::optional<bool> & volume_down ()
Whether the volume down button is pressed. See `volume_up` and `volume`
(field 1) for how this relates to the net volume field.
::std::optional<bool> & volume_down ()
Whether the volume down button is pressed. See `volume_up` and `volume`
(field 1) for how this relates to the net volume field.
MediaButtonsEvent & volume_down (std::optional<bool> value)
Whether the volume down button is pressed. See `volume_up` and `volume`
(field 1) for how this relates to the net volume field.
void MediaButtonsEvent (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits