Share via


BluetoothGatt.DiscoverServices Method

Definition

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

[Android.Runtime.Register("discoverServices", "()Z", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public bool DiscoverServices ();
[<Android.Runtime.Register("discoverServices", "()Z", "")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.DiscoverServices : unit -> bool

Returns

true, if the remote service discovery has been started

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothGatt.discoverServices().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to