Android.Bluetooth.BluetoothAdapter.IsDiscovering Property
Return true if the local Bluetooth adapter is currently in the device discovery process.

Syntax

[get: Android.Runtime.Register("isDiscovering", "()Z", "GetIsDiscoveringHandler")]
public bool IsDiscovering { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Return true if the local Bluetooth adapter is currently in the device discovery process.

Device discovery is a heavyweight procedure. New connections to remote Bluetooth devices should not be attempted while discovery is in progress, and existing connections will experience limited bandwidth and high latency. Use BluetoothAdapter.CancelDiscovery to cancel an ongoing discovery.

Applications can also register for BluetoothAdapter.ActionDiscoveryStarted or BluetoothAdapter.ActionDiscoveryFinished to be notified when discovery starts or completes.

If Bluetooth state is not BluetoothAdapter.STATE_ON, this API will return false. 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