C# Класс BLE.Server.Droid.BleGattServerCallback

Наследование: Android.Bluetooth.BluetoothGattServerCallback
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

BleGattServerCallback() публичный Метод

public BleGattServerCallback ( ) : System
Результат System

OnCharacteristicReadRequest() публичный Метод

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
Результат void

OnCharacteristicWriteRequest() публичный Метод

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
Результат void

OnConnectionStateChange() публичный Метод

public OnConnectionStateChange ( Android.Bluetooth.BluetoothDevice device, ProfileState status, ProfileState newState ) : void
device Android.Bluetooth.BluetoothDevice
status ProfileState
newState ProfileState
Результат void

OnNotificationSent() публичный Метод

public OnNotificationSent ( Android.Bluetooth.BluetoothDevice device, GattStatus status ) : void
device Android.Bluetooth.BluetoothDevice
status GattStatus
Результат void