class ReadByTypeResult
Defined at line 1037 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt/fuchsia.bluetooth.gatt/hlcpp/fuchsia/bluetooth/gatt/cpp/fidl.h
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
ReadByTypeResult & set_id (uint64_t _value)
ReadByTypeResult & set_value (::std::vector<uint8_t> _value)
ReadByTypeResult & set_error (::fuchsia::bluetooth::gatt::Error _value)
void ReadByTypeResult ()
void ReadByTypeResult (ReadByTypeResult && other)
void ~ReadByTypeResult ()
ReadByTypeResult & operator= (ReadByTypeResult && other)
::std::unique_ptr<ReadByTypeResult> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ReadByTypeResult * _value, size_t _offset)
zx_status_t Clone (ReadByTypeResult * _result)
const uint64_t & id ()
Characteristic or descriptor id.
Defined at line 1044 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt/fuchsia.bluetooth.gatt/hlcpp/fuchsia/bluetooth/gatt/cpp/fidl.h
bool has_id ()
Defined at line 1048 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt/fuchsia.bluetooth.gatt/hlcpp/fuchsia/bluetooth/gatt/cpp/fidl.h
uint64_t * mutable_id ()
Characteristic or descriptor id.
Defined at line 1053 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt/fuchsia.bluetooth.gatt/hlcpp/fuchsia/bluetooth/gatt/cpp/fidl.h
void clear_id ()
Defined at line 1061 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt/fuchsia.bluetooth.gatt/hlcpp/fuchsia/bluetooth/gatt/cpp/fidl.h
const ::std::vector<uint8_t> & value ()
Truncated value of characteristic or descriptor, if it was read successfully.
Defined at line 1070 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt/fuchsia.bluetooth.gatt/hlcpp/fuchsia/bluetooth/gatt/cpp/fidl.h
bool has_value ()
Defined at line 1074 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt/fuchsia.bluetooth.gatt/hlcpp/fuchsia/bluetooth/gatt/cpp/fidl.h
::std::vector<uint8_t> * mutable_value ()
Truncated value of characteristic or descriptor, if it was read successfully.
Defined at line 1079 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt/fuchsia.bluetooth.gatt/hlcpp/fuchsia/bluetooth/gatt/cpp/fidl.h
void clear_value ()
Defined at line 1087 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt/fuchsia.bluetooth.gatt/hlcpp/fuchsia/bluetooth/gatt/cpp/fidl.h
const ::fuchsia::bluetooth::gatt::Error & error ()
Reason the value could not be read, if reading it resulted in an error.
Defined at line 1096 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt/fuchsia.bluetooth.gatt/hlcpp/fuchsia/bluetooth/gatt/cpp/fidl.h
bool has_error ()
Defined at line 1100 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt/fuchsia.bluetooth.gatt/hlcpp/fuchsia/bluetooth/gatt/cpp/fidl.h
::fuchsia::bluetooth::gatt::Error * mutable_error ()
Reason the value could not be read, if reading it resulted in an error.
Defined at line 1105 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt/fuchsia.bluetooth.gatt/hlcpp/fuchsia/bluetooth/gatt/cpp/fidl.h
void clear_error ()
Defined at line 1113 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt/fuchsia.bluetooth.gatt/hlcpp/fuchsia/bluetooth/gatt/cpp/fidl.h