class PlaybackSourceConfig
Defined at line 839 of file fidling/gen/sdk/fidl/fuchsia.hardware.sensors/fuchsia.hardware.sensors/cpp/fidl/fuchsia.hardware.sensors/cpp/natural_types.h
Multiple types of playback are supported. Which type is used depends on
which configuration is provided to Playback::ConfigurePlayback.
Public Methods
void PlaybackSourceConfig (PlaybackSourceConfig && other)
PlaybackSourceConfig & operator= (PlaybackSourceConfig && other)
void PlaybackSourceConfig (const PlaybackSourceConfig & other)
PlaybackSourceConfig & operator= (const PlaybackSourceConfig & other)
bool operator== (const PlaybackSourceConfig & other)
bool operator!= (const PlaybackSourceConfig & other)
bool IsUnknown ()
::fuchsia_hardware_sensors::PlaybackSourceConfig::Tag Which ()
PlaybackSourceConfig WithFixedValuesConfig (::fuchsia_hardware_sensors::FixedValuesPlaybackConfig val)
const ::fidl::internal::UnionMemberView<1, Storage_> fixed_values_config ()
::fidl::internal::UnionMemberView<1, Storage_> fixed_values_config ()
PlaybackSourceConfig & fixed_values_config (::fuchsia_hardware_sensors::FixedValuesPlaybackConfig value)
Configure for fixed values playback. See FixedValuesPlaybackConfig.
PlaybackSourceConfig WithFilePlaybackConfig (::fuchsia_hardware_sensors::FilePlaybackConfig val)
const ::fidl::internal::UnionMemberView<2, Storage_> file_playback_config ()
::fidl::internal::UnionMemberView<2, Storage_> file_playback_config ()
PlaybackSourceConfig & file_playback_config (::fuchsia_hardware_sensors::FilePlaybackConfig value)
Configure to play back events from a data file. See FilePlaybackConfig.
void PlaybackSourceConfig (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kFixedValuesConfig | 1 |
| kFilePlaybackConfig | 2 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
TODO: share union tag types between wire
&
natural.
Defined at line 847 of file fidling/gen/sdk/fidl/fuchsia.hardware.sensors/fuchsia.hardware.sensors/cpp/fidl/fuchsia.hardware.sensors/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits