class LayerId

Defined at line 3951 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h

**Zero identifiers**: zero is never a valid identifier, for any of these types; each

`Create*` method rejects it. Unlike the classic API (where, e.g., [`Flatland.SetContent`]

accepts id 0 to clear a Transform's content), Flatland2 never uses a zero id to express

clearing; where clearing is possible, it is expressed by omitting an optional field

(see [`Flatland.SetTransformContent`]).

A user-defined identifier for a particular layer. See [`Flatland.CreateLayer`] and

[`Flatland.ReleaseLayer`] for more information.

Public Members

uint64_t value

Public Methods

::std::unique_ptr<LayerId> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, LayerId * value, size_t _offset)
zx_status_t Clone (LayerId * result)