C# Class BLE.Server.Droid.BleGattServerCallback

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

Méthodes publiques

Méthode 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 méthode

public BleGattServerCallback ( ) : System
Résultat System

OnCharacteristicReadRequest() public méthode

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
Résultat void

OnCharacteristicWriteRequest() public méthode

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
Résultat void

OnConnectionStateChange() public méthode

public OnConnectionStateChange ( Android.Bluetooth.BluetoothDevice device, ProfileState status, ProfileState newState ) : void
device Android.Bluetooth.BluetoothDevice
status ProfileState
newState ProfileState
Résultat void

OnNotificationSent() public méthode

public OnNotificationSent ( Android.Bluetooth.BluetoothDevice device, GattStatus status ) : void
device Android.Bluetooth.BluetoothDevice
status GattStatus
Résultat void