Android.Bluetooth.BluetoothGattServer.GetService Method
Returns a Android.Bluetooth.BluetoothGattService from the list of services offered by this 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 from the list of services offered by this 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