Android.Bluetooth.BluetoothAdapter Members

The members of Android.Bluetooth.BluetoothAdapter are listed below.

See Also: Inherited members from Java.Lang.Object

Public Fields

const
ActionConnectionStateChangedstring. Intent used to broadcast the change in connection state of the local Bluetooth adapter to a profile of the remote device.
const
ActionDiscoveryFinishedstring. Broadcast Action: The local Bluetooth adapter has finished the device discovery process.
const
ActionDiscoveryStartedstring. Broadcast Action: The local Bluetooth adapter has started the remote device discovery process.
const
ActionLocalNameChangedstring. Broadcast Action: The local Bluetooth adapter has changed its friendly Bluetooth name.
const
ActionRequestDiscoverablestring. Activity Action: Show a system activity that requests discoverable mode.
const
ActionRequestEnablestring. Activity Action: Show a system activity that allows the user to turn on Bluetooth.
const
ActionScanModeChangedstring. Broadcast Action: Indicates the Bluetooth scan mode of the local Adapter has changed.
const
ActionStateChangedstring. Broadcast Action: The state of the local Bluetooth adapter has been changed.
const
Errorint (-2147483648). Sentinel error value for this class.
const
ExtraConnectionStatestring. Extra used by BluetoothAdapter.ActionConnectionStateChanged This extra represents the current connection state.
const
ExtraDiscoverableDurationstring. Used as an optional int extra field in BluetoothAdapter.ActionRequestDiscoverable intents to request a specific duration for discoverability in seconds.
const
ExtraLocalNamestring. Used as a String extra field in BluetoothAdapter.ActionLocalNameChanged intents to request the local Bluetooth name.
const
ExtraPreviousConnectionStatestring. Extra used by BluetoothAdapter.ActionConnectionStateChanged This extra represents the previous connection state.
const
ExtraPreviousScanModestring. Used as an int extra field in BluetoothAdapter.ActionScanModeChanged intents to request the previous scan mode.
const
ExtraPreviousStatestring. Used as an int extra field in BluetoothAdapter.ActionStateChanged intents to request the previous power state.
const
ExtraScanModestring. Used as an int extra field in BluetoothAdapter.ActionScanModeChanged intents to request the current scan mode.
const
ExtraStatestring. Used as an int extra field in BluetoothAdapter.ActionStateChanged intents to request the current power state.

Public Properties

[read-only]
Addressstring. Returns the hardware address of the local Bluetooth adapter.
[read-only]
BluetoothLeAdvertiserAndroid.Bluetooth.LE.BluetoothLeAdvertiser. Returns a Android.Bluetooth.LE.BluetoothLeAdvertiser object for Bluetooth LE Advertising operations, or null if Bluetooth LE Advertising is not support on this device.
[read-only]
BluetoothLeScannerAndroid.Bluetooth.LE.BluetoothLeScanner. Returns a Android.Bluetooth.LE.BluetoothLeScanner object for Bluetooth LE scan operations.
[read-only]
BondedDevicesICollection<BluetoothDevice>. Return the set of Android.Bluetooth.BluetoothDevice objects that are bonded (paired) to the local adapter.
[read-only]
static
DefaultAdapterBluetoothAdapter. Get a handle to the default local Bluetooth adapter.
[read-only]
IsDiscoveringbool. Return true if the local Bluetooth adapter is currently in the device discovery process.
[read-only]
IsEnabledbool. Return true if Bluetooth is currently enabled and ready for use.
[read-only]
IsMultipleAdvertisementSupportedbool. Return true if the multi advertisement is supported by the chipset
[read-only]
IsOffloadedFilteringSupportedbool. Return true if offloaded filters are supported
[read-only]
IsOffloadedScanBatchingSupportedbool. Return true if offloaded scan batching is supported
[read-only]
Namestring. Get the friendly Bluetooth name of the local Bluetooth adapter.
[read-only]
ScanModeScanMode. Get the current Bluetooth scan mode of the local Bluetooth adapter.
[read-only]
StateState. Get the current state of the local Bluetooth adapter.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

CancelDiscovery() : bool
Cancel the current device discovery process.
static
CheckBluetoothAddress(string) : bool
Validate a String Bluetooth address, such as "00:43:A8:23:10:F0"
CloseProfileProxy(ProfileType, IBluetoothProfile)
Close the connection of the profile proxy to the Service.
Disable() : bool
Turn off the local Bluetooth adapter&mdash;do not use without explicit user action to turn off Bluetooth.
Enable() : bool
Turn on the local Bluetooth adapter&mdash;do not use without explicit user action to turn on Bluetooth.
GetProfileConnectionState(ProfileType) : ProfileState
Get the current connection state of a profile.
GetProfileProxy(Android.Content.Context, IBluetoothProfileServiceListener, ProfileType) : bool
Get the profile proxy object associated with the profile.
GetRemoteDevice(byte[]) : BluetoothDevice
Get a Android.Bluetooth.BluetoothDevice object for the given Bluetooth hardware address.
GetRemoteDevice(string) : BluetoothDevice
Get a Android.Bluetooth.BluetoothDevice object for the given Bluetooth hardware address.
ListenUsingInsecureRfcommWithServiceRecord(string, Java.Util.UUID) : BluetoothServerSocket
Create a listening, insecure RFCOMM Bluetooth socket with Service Record.
ListenUsingRfcommWithServiceRecord(string, Java.Util.UUID) : BluetoothServerSocket
Create a listening, secure RFCOMM Bluetooth socket with Service Record.
SetName(string) : bool
Set the friendly Bluetooth name of the local Bluetooth adapter.
StartDiscovery() : bool
Start the remote device discovery process.
StartLeScan(BluetoothAdapter.ILeScanCallback) : bool
Starts a scan for Bluetooth LE devices.
StartLeScan(Java.Util.UUID[], BluetoothAdapter.ILeScanCallback) : bool
Starts a scan for Bluetooth LE devices, looking for devices that advertise given services.
StopLeScan(BluetoothAdapter.ILeScanCallback)
Stops an ongoing Bluetooth LE device scan.