class ReadByTypeResult
Defined at line 2054 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
A result returned by `RemoteService.ReadByType`.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
ReadByTypeResult & set_handle (::fuchsia::bluetooth::gatt2::Handle _value)
ReadByTypeResult & set_value (::fuchsia::bluetooth::gatt2::ReadValue _value)
ReadByTypeResult & set_error (::fuchsia::bluetooth::gatt2::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 ::fuchsia::bluetooth::gatt2::Handle & handle ()
Characteristic or descriptor handle.
Defined at line 2061 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 2065 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 ()
Characteristic or descriptor handle.
Defined at line 2070 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 2078 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
const ::fuchsia::bluetooth::gatt2::ReadValue & value ()
The value of the characteristic or descriptor, if it was read successfully.
Defined at line 2087 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
bool has_value ()
Defined at line 2091 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
::fuchsia::bluetooth::gatt2::ReadValue * mutable_value ()
The value of the characteristic or descriptor, if it was read successfully.
Defined at line 2096 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
void clear_value ()
Defined at line 2104 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
const ::fuchsia::bluetooth::gatt2::Error & error ()
Reason the value could not be read, if reading it resulted in an error.
Defined at line 2113 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
bool has_error ()
Defined at line 2117 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
::fuchsia::bluetooth::gatt2::Error * mutable_error ()
Reason the value could not be read, if reading it resulted in an error.
Defined at line 2122 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h
void clear_error ()
Defined at line 2130 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h