Android.Bluetooth.BluetoothAdapter.ScanMode Property
Get the current Bluetooth scan mode of the local Bluetooth adapter.

Syntax

[get: Android.Runtime.Register("getScanMode", "()I", "GetGetScanModeHandler")]
public ScanMode ScanMode { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Get the current Bluetooth scan mode of the local Bluetooth adapter.

The Bluetooth scan mode determines if the local adapter is connectable and/or discoverable from remote Bluetooth devices.

Possible values are: BluetoothAdapter.SCAN_MODE_NONE, BluetoothAdapter.SCAN_MODE_CONNECTABLE, BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE.

If Bluetooth state is not BluetoothAdapter.STATE_ON, this API will return BluetoothAdapter.SCAN_MODE_NONE. After turning on Bluetooth, wait for BluetoothAdapter.ActionStateChanged with BluetoothAdapter.STATE_ON to get the updated value.

Requires NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#BLUETOOTH

[Android Documentation]

Requirements

Namespace: Android.Bluetooth
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5