C# 클래스 BLE.Server.Droid.BleGattServerCallback

상속: Android.Bluetooth.BluetoothGattServerCallback
파일 보기 프로젝트 열기: xabre/xamarin-bluetooth-le 1 사용 예제들

공개 메소드들

메소드 설명
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