class Descriptor
Defined at line 3280 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
Represents a local or remote GATT characteristic descriptor.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
Descriptor & set_handle (::fuchsia::bluetooth::gatt2::Handle _value)
Descriptor & set_type (::fuchsia::bluetooth::Uuid _value)
Descriptor & set_permissions (::fuchsia::bluetooth::gatt2::AttributePermissions _value)
void Descriptor ()
void Descriptor (Descriptor && other)
void ~Descriptor ()
Descriptor & operator= (Descriptor && other)
::std::unique_ptr<Descriptor> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Descriptor * _value, size_t _offset)
zx_status_t Clone (Descriptor * _result)
const ::fuchsia::bluetooth::gatt2::Handle & handle ()
Uniquely identifies this descriptor within a service.
For local descriptors, the specified handle must be unique
across all characteristic and descriptor handles in this service.
Always present. For local descriptors, this value is mandatory.
Defined at line 3291 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
bool has_handle ()
Defined at line 3295 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
::fuchsia::bluetooth::gatt2::Handle * mutable_handle ()
Uniquely identifies this descriptor within a service.
For local descriptors, the specified handle must be unique
across all characteristic and descriptor handles in this service.
Always present. For local descriptors, this value is mandatory.
Defined at line 3304 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
void clear_handle ()
Defined at line 3312 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
const ::fuchsia::bluetooth::Uuid & type ()
The UUID that identifies the type of this descriptor.
Always present. For local descriptors, this value is mandatory.
Defined at line 3322 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
bool has_type ()
Defined at line 3326 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
::fuchsia::bluetooth::Uuid * mutable_type ()
The UUID that identifies the type of this descriptor.
Always present. For local descriptors, this value is mandatory.
Defined at line 3332 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
void clear_type ()
Defined at line 3340 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
const ::fuchsia::bluetooth::gatt2::AttributePermissions & permissions ()
The attribute permissions of this descriptor. For remote
descriptors, this value will not be present until the permissions are
discovered via read and write requests.
For local descriptors, this value is mandatory.
Defined at line 3353 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
bool has_permissions ()
Defined at line 3357 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
::fuchsia::bluetooth::gatt2::AttributePermissions * mutable_permissions ()
The attribute permissions of this descriptor. For remote
descriptors, this value will not be present until the permissions are
discovered via read and write requests.
For local descriptors, this value is mandatory.
Defined at line 3366 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
void clear_permissions ()
Defined at line 3374 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h