class LeScanState

Defined at line 589 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/natural_types.h

Represents the LE scan state. The fields are present if scan parameters have been configured.

Public Methods

void LeScanState ()

Defined at line 594 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/natural_types.h

void LeScanState (LeScanState && )

Defined at line 595 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/natural_types.h

void LeScanState (Storage_ storage)
void LeScanState (const LeScanState & other)
LeScanState & operator= (const LeScanState & other)
bool operator== (const LeScanState & other)
bool operator!= (const LeScanState & other)
bool IsEmpty ()
const std::optional<bool> & enabled ()

True if a scan is enabled.

::std::optional<bool> & enabled ()

True if a scan is enabled.

LeScanState & enabled (std::optional<bool> value)

True if a scan is enabled.

const std::optional<bool> & active ()

True if an active scan is enabled. Otherwise the scan is passive.

::std::optional<bool> & active ()

True if an active scan is enabled. Otherwise the scan is passive.

LeScanState & active (std::optional<bool> value)

True if an active scan is enabled. Otherwise the scan is passive.

const std::optional<uint16_t> & interval ()

The scan interval and window parameters. These are defined in Bluetooth controller

"timeslices" where 1 slice = 0.625 ms. Valid values range from 0x4 (2.5 ms) to 0x4000 (10.24

ms).

::std::optional<uint16_t> & interval ()

The scan interval and window parameters. These are defined in Bluetooth controller

"timeslices" where 1 slice = 0.625 ms. Valid values range from 0x4 (2.5 ms) to 0x4000 (10.24

ms).

LeScanState & interval (std::optional<uint16_t> value)

The scan interval and window parameters. These are defined in Bluetooth controller

"timeslices" where 1 slice = 0.625 ms. Valid values range from 0x4 (2.5 ms) to 0x4000 (10.24

ms).

LeScanState & operator= (LeScanState && )

Defined at line 596 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/natural_types.h

const std::optional<uint16_t> & window ()
::std::optional<uint16_t> & window ()
LeScanState & window (std::optional<uint16_t> value)

Setter for window.

const std::optional<bool> & filter_duplicates ()

True if duplicate filtering has been enabled.

::std::optional<bool> & filter_duplicates ()

True if duplicate filtering has been enabled.

LeScanState & filter_duplicates (std::optional<bool> value)

True if duplicate filtering has been enabled.

const std::optional< ::fuchsia_bluetooth::AddressType> & address_type ()

The type of local device address used.

::std::optional< ::fuchsia_bluetooth::AddressType> & address_type ()

The type of local device address used.

LeScanState & address_type (std::optional< ::fuchsia_bluetooth::AddressType> value)

The type of local device address used.

void LeScanState (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits