Android.Bluetooth.BluetoothManager.OpenGattServer Method
Open a GATT Server The callback is used to deliver results to Caller, such as connection status as well as the results of any other GATT server operations.

Syntax

[Android.Runtime.Register("openGattServer", "(Landroid/content/Context;Landroid/bluetooth/BluetoothGattServerCallback;)Landroid/bluetooth/BluetoothGattServer;", "")]
public BluetoothGattServer OpenGattServer (Android.Content.Context context, BluetoothGattServerCallback callback)

Parameters

context
App context
callback
GATT server callback handler that will receive asynchronous callbacks.

Returns

Documentation for this section has not yet been entered.

Remarks

Open a GATT Server The callback is used to deliver results to Caller, such as connection status as well as the results of any other GATT server operations. The method returns a BluetoothGattServer instance. You can use BluetoothGattServer to conduct GATT server operations.

[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