Android.Bluetooth.BluetoothGatt.DiscoverServices Method
Discovers services offered by a remote device as well as their characteristics and descriptors.

Syntax

[Android.Runtime.Register("discoverServices", "()Z", "")]
public bool DiscoverServices ()

Returns

Documentation for this section has not yet been entered.

Remarks

Discovers services offered by a remote device as well as their characteristics and descriptors.

This is an asynchronous operation. Once service discovery is completed, the BluetoothGattCallback.OnServicesDiscovered(BluetoothGatt, Android.Bluetooth.GattStatus) callback is triggered. If the discovery was successful, the remote services can be retrieved using the BluetoothGatt.Services function.

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

[Android Documentation]

Requirements

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