Android.Bluetooth.LE Namespace

Provides Bluetooth LE advertising, scan filtering, and scan result APIs.

Classes

Name Description
AdvertiseCallback

Bluetooth LE advertising callbacks, used to deliver advertising operation status.

AdvertiseData

Advertise data packet container for Bluetooth LE advertising.

AdvertiseData.Builder

Builder for AdvertiseData.

AdvertiseData.InterfaceConsts

Exposes constants from IParcelable for AdvertiseData.

AdvertiseSettings

The AdvertiseSettings provide a way to adjust advertising preferences for each Bluetooth LE advertisement instance.

AdvertiseSettings.Builder

Builder class for AdvertiseSettings.

AdvertiseSettings.InterfaceConsts

Exposes constants from IParcelable for AdvertiseSettings.

AdvertisingSet

This class provides a way to control single Bluetooth LE advertising instance.

AdvertisingSetCallback

Bluetooth LE advertising set callbacks, used to deliver advertising operation status.

AdvertisingSetParameters

The AdvertisingSetParameters provide a way to adjust advertising preferences for each Bluetooth LE advertising set.

AdvertisingSetParameters.Builder

Builder class for AdvertisingSetParameters.

AdvertisingSetParameters.InterfaceConsts

Exposes constants from IParcelable for AdvertisingSetParameters.

BluetoothLeAdvertiser

This class provides a way to perform Bluetooth LE advertise operations, such as starting and stopping advertising.

BluetoothLeScanner

This class provides methods to perform scan related operations for Bluetooth LE devices.

PeriodicAdvertisingParameters

The PeriodicAdvertisingParameters provide a way to adjust periodic advertising preferences for each Bluetooth LE advertising set.

PeriodicAdvertisingParameters.Builder

Collects the settings used to create periodic advertising parameters.

PeriodicAdvertisingParameters.InterfaceConsts

Exposes constants from IParcelable for PeriodicAdvertisingParameters.

ScanCallback

Bluetooth LE scan callbacks.

ScanFilter

Criteria for filtering result from Bluetooth LE scans.

ScanFilter.Builder

Builder class for ScanFilter.

ScanFilter.InterfaceConsts

Exposes constants from IParcelable for ScanFilter.

ScanRecord

Represents a scan record from Bluetooth LE scan.

ScanResult

ScanResult for Bluetooth LE scan.

ScanResult.InterfaceConsts

Exposes constants from IParcelable for ScanResult.

ScanSettings

Bluetooth LE scan settings are passed to BluetoothLeScanner#startScan to define the parameters for the scan.

ScanSettings.Builder

Builder for ScanSettings.

ScanSettings.InterfaceConsts

Exposes constants from IParcelable for ScanSettings.

TransportBlock

Wrapper for Transport Discovery Data Transport Blocks.

TransportBlock.InterfaceConsts

Exposes constants from IParcelable for TransportBlock.

TransportDiscoveryData

Wrapper for Transport Discovery Data AD Type.

TransportDiscoveryData.InterfaceConsts

Exposes constants from IParcelable for TransportDiscoveryData.

Enums

Name Description
AdvertiseFailure

Enumerates values returned by several methods of AdvertiseFailure and taken as a parameter of the F:Android.Bluetooth.LE.AdvertiseCallback.OnStartFailure member.

AdvertiseMode

Enumerates values returned by several types and taken as a parameter of the F:Android.Bluetooth.LE.AdvertiseSettings+Builder.SetAdvertiseMode member.

AdvertiseResult

Identifies success or a failure reason for an advertising set operation.

AdvertiseTx

Enumerates values returned by several types and taken as a parameter of the F:Android.Bluetooth.LE.AdvertiseSettings+Builder.SetTxPowerLevel member.

AdvertiseTxPower

Defines advertising set transmission power values and limits in dBm.

BluetoothPhy

Defines the value used when a scan result has no secondary physical channel.

BluetoothScanMatchMode

Selects aggressive or sticky matching for hardware scan filters.

BluetoothScanMatchNumber

Selects how many advertisements hardware scan filters track per filter.

DataStatus

Identifies complete or truncated advertising data in a scan result.

ScanCallbackType

Enumerates values returned by the AllMatches, and CallbackType members and taken as a parameter of the F:Android.Bluetooth.LE.ScanCallback.OnScanResult member.

ScanFailure

Enumerates values returned by several methods of ScanFailure and taken as a parameter of the F:Android.Bluetooth.LE.ScanCallback.OnScanFailed member.

ScanMode

Enumerates values returned by several types and taken as a parameter of the F:Android.Bluetooth.LE.ScanSettings+Builder.SetScanMode member.

ScanRecordDataType

Identifies the kinds of data fields in Bluetooth LE advertisements.

ScanSettingsPhy

Defines the scan setting that selects all supported physical layers.

ScanType

Identifies active scanning, passive scanning, or an unknown scan type.