Android.Bluetooth.BluetoothGatt.GetService Method
Returns a Android.Bluetooth.BluetoothGattService, if the requested UUID is supported by the remote device.

Syntax

[Android.Runtime.Register("getService", "(Ljava/util/UUID;)Landroid/bluetooth/BluetoothGattService;", "")]
public BluetoothGattService GetService (Java.Util.UUID uuid)

Parameters

uuid
UUID of the requested service

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a Android.Bluetooth.BluetoothGattService, if the requested UUID is supported by the remote device.

This function requires that service discovery has been completed for the given device.

If multiple instances of the same service (as identified by UUID) exist, the first instance of the service is returned.

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