Android.Bluetooth.BluetoothGattServer: Method Members

The methods of Android.Bluetooth.BluetoothGattServer are listed below. For a list of all members, see the BluetoothGattServer Members list.

See Also: Inherited members from Java.Lang.Object

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.