C# Class BLE.Server.Droid.BleGattServerCallback

Inheritance: Android.Bluetooth.BluetoothGattServerCallback
Datei anzeigen Open project: xabre/xamarin-bluetooth-le Class Usage Examples

Public Methods

Method Description
BleGattServerCallback ( ) : System
OnCharacteristicReadRequest ( Android.Bluetooth.BluetoothDevice device, int requestId, int offset, Android.Bluetooth.BluetoothGattCharacteristic characteristic ) : void
OnCharacteristicWriteRequest ( Android.Bluetooth.BluetoothDevice device, int requestId, Android.Bluetooth.BluetoothGattCharacteristic characteristic, bool preparedWrite, bool responseNeeded, int offset, byte value ) : void
OnConnectionStateChange ( Android.Bluetooth.BluetoothDevice device, ProfileState status, ProfileState newState ) : void
OnNotificationSent ( Android.Bluetooth.BluetoothDevice device, GattStatus status ) : void

Method Details

BleGattServerCallback() public method

public BleGattServerCallback ( ) : System
return System

OnCharacteristicReadRequest() public method

public OnCharacteristicReadRequest ( Android.Bluetooth.BluetoothDevice device, int requestId, int offset, Android.Bluetooth.BluetoothGattCharacteristic characteristic ) : void
device Android.Bluetooth.BluetoothDevice
requestId int
offset int
characteristic Android.Bluetooth.BluetoothGattCharacteristic
return void

OnCharacteristicWriteRequest() public method

public OnCharacteristicWriteRequest ( Android.Bluetooth.BluetoothDevice device, int requestId, Android.Bluetooth.BluetoothGattCharacteristic characteristic, bool preparedWrite, bool responseNeeded, int offset, byte value ) : void
device Android.Bluetooth.BluetoothDevice
requestId int
characteristic Android.Bluetooth.BluetoothGattCharacteristic
preparedWrite bool
responseNeeded bool
offset int
value byte
return void

OnConnectionStateChange() public method

public OnConnectionStateChange ( Android.Bluetooth.BluetoothDevice device, ProfileState status, ProfileState newState ) : void
device Android.Bluetooth.BluetoothDevice
status ProfileState
newState ProfileState
return void

OnNotificationSent() public method

public OnNotificationSent ( Android.Bluetooth.BluetoothDevice device, GattStatus status ) : void
device Android.Bluetooth.BluetoothDevice
status GattStatus
return void