class WatchOptions
Defined at line 468 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/hlcpp/fuchsia/media/sessions2/cpp/fidl.h
Options that specify which sessions are watched when watching the collection.
The watched set is the set of sessions which satisfies all options.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const bool & only_active ()
Watch only the active session. Watches all if not set.
Defined at line 475 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/hlcpp/fuchsia/media/sessions2/cpp/fidl.h
bool has_only_active ()
Defined at line 479 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/hlcpp/fuchsia/media/sessions2/cpp/fidl.h
bool * mutable_only_active ()
Watch only the active session. Watches all if not set.
Defined at line 484 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/hlcpp/fuchsia/media/sessions2/cpp/fidl.h
void clear_only_active ()
Defined at line 492 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/hlcpp/fuchsia/media/sessions2/cpp/fidl.h
const ::std::vector<uint64_t> & allowed_sessions ()
Watch only sessions with these allowlisted ids. Watches all if not set.
Defined at line 501 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/hlcpp/fuchsia/media/sessions2/cpp/fidl.h
bool has_allowed_sessions ()
Defined at line 505 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/hlcpp/fuchsia/media/sessions2/cpp/fidl.h
::std::vector<uint64_t> * mutable_allowed_sessions ()
Watch only sessions with these allowlisted ids. Watches all if not set.
Defined at line 510 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/hlcpp/fuchsia/media/sessions2/cpp/fidl.h
void clear_allowed_sessions ()
Defined at line 518 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/hlcpp/fuchsia/media/sessions2/cpp/fidl.h
WatchOptions & set_only_active (bool _value)
WatchOptions & set_allowed_sessions (::std::vector<uint64_t> _value)
void WatchOptions ()
void WatchOptions (WatchOptions && other)
void ~WatchOptions ()
WatchOptions & operator= (WatchOptions && other)
::std::unique_ptr<WatchOptions> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, WatchOptions * _value, size_t _offset)
zx_status_t Clone (WatchOptions * _result)