Android.Bluetooth.BluetoothGattServer Members

The members of Android.Bluetooth.BluetoothGattServer are listed below.

See Also: Inherited members from Java.Lang.Object

Public Properties

[read-only]
ConnectedDevicesIList<BluetoothDevice>. Not supported - please use BluetoothManager.GetConnectedDevices(ProfileType) with BluetoothProfile.Gatt as argument
[read-only]
ServicesIList<BluetoothGattService>. Returns a list of GATT services offered by this device.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AddService(BluetoothGattService) : bool
Add a service to the list of services to be hosted.
CancelConnection(BluetoothDevice)
Disconnects an established connection, or cancels a connection attempt currently in progress.
ClearServices()
Remove all services from the list of provided services.
Close()
Close this GATT server instance.
Connect(BluetoothDevice, bool) : bool
Initiate a connection to a Bluetooth GATT capable device.
GetConnectionState(BluetoothDevice) : ProfileState
Not supported - please use BluetoothManager.GetConnectedDevices(ProfileType) with BluetoothProfile.Gatt as argument
GetDevicesMatchingConnectionStates(ProfileState[]) : IList<BluetoothDevice>
Not supported - please use BluetoothManager.GetDevicesMatchingConnectionStates(ProfileType, System.Int32[]) with BluetoothProfile.Gatt as first argument
GetService(Java.Util.UUID) : BluetoothGattService
Returns a Android.Bluetooth.BluetoothGattService from the list of services offered by this device.
NotifyCharacteristicChanged(BluetoothDevice, BluetoothGattCharacteristic, bool) : bool
Send a notification or indication that a local characteristic has been updated.
RemoveService(BluetoothGattService) : bool
Removes a service from the list of services to be provided.
SendResponse(BluetoothDevice, int, ProfileState, int, byte[]) : bool
Send a response to a read or write request to a remote device.