C# 클래스 Plugin.BLE.Android.GattCallback

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

공개 메소드들

메소드 설명
GattCallback ( Adapter adapter ) : System
OnCharacteristicChanged ( Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattCharacteristic characteristic ) : void
OnCharacteristicRead ( Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattCharacteristic characteristic, GattStatus status ) : void
OnCharacteristicWrite ( Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattCharacteristic characteristic, GattStatus status ) : void
OnConnectionStateChange ( Android.Bluetooth.BluetoothGatt gatt, GattStatus status, ProfileState newState ) : void
OnDescriptorRead ( Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattDescriptor descriptor, GattStatus status ) : void
OnDescriptorWrite ( Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattDescriptor descriptor, GattStatus status ) : void
OnReadRemoteRssi ( Android.Bluetooth.BluetoothGatt gatt, int rssi, GattStatus status ) : void
OnReliableWriteCompleted ( Android.Bluetooth.BluetoothGatt gatt, GattStatus status ) : void
OnServicesDiscovered ( Android.Bluetooth.BluetoothGatt gatt, GattStatus status ) : void

비공개 메소드들

메소드 설명
GetExceptionFromGattStatus ( GattStatus status ) : Exception

메소드 상세

GattCallback() 공개 메소드

public GattCallback ( Adapter adapter ) : System
adapter Adapter
리턴 System

OnCharacteristicChanged() 공개 메소드

public OnCharacteristicChanged ( Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattCharacteristic characteristic ) : void
gatt Android.Bluetooth.BluetoothGatt
characteristic Android.Bluetooth.BluetoothGattCharacteristic
리턴 void

OnCharacteristicRead() 공개 메소드

public OnCharacteristicRead ( Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattCharacteristic characteristic, GattStatus status ) : void
gatt Android.Bluetooth.BluetoothGatt
characteristic Android.Bluetooth.BluetoothGattCharacteristic
status GattStatus
리턴 void

OnCharacteristicWrite() 공개 메소드

public OnCharacteristicWrite ( Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattCharacteristic characteristic, GattStatus status ) : void
gatt Android.Bluetooth.BluetoothGatt
characteristic Android.Bluetooth.BluetoothGattCharacteristic
status GattStatus
리턴 void

OnConnectionStateChange() 공개 메소드

public OnConnectionStateChange ( Android.Bluetooth.BluetoothGatt gatt, GattStatus status, ProfileState newState ) : void
gatt Android.Bluetooth.BluetoothGatt
status GattStatus
newState ProfileState
리턴 void

OnDescriptorRead() 공개 메소드

public OnDescriptorRead ( Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattDescriptor descriptor, GattStatus status ) : void
gatt Android.Bluetooth.BluetoothGatt
descriptor Android.Bluetooth.BluetoothGattDescriptor
status GattStatus
리턴 void

OnDescriptorWrite() 공개 메소드

public OnDescriptorWrite ( Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattDescriptor descriptor, GattStatus status ) : void
gatt Android.Bluetooth.BluetoothGatt
descriptor Android.Bluetooth.BluetoothGattDescriptor
status GattStatus
리턴 void

OnReadRemoteRssi() 공개 메소드

public OnReadRemoteRssi ( Android.Bluetooth.BluetoothGatt gatt, int rssi, GattStatus status ) : void
gatt Android.Bluetooth.BluetoothGatt
rssi int
status GattStatus
리턴 void

OnReliableWriteCompleted() 공개 메소드

public OnReliableWriteCompleted ( Android.Bluetooth.BluetoothGatt gatt, GattStatus status ) : void
gatt Android.Bluetooth.BluetoothGatt
status GattStatus
리턴 void

OnServicesDiscovered() 공개 메소드

public OnServicesDiscovered ( Android.Bluetooth.BluetoothGatt gatt, GattStatus status ) : void
gatt Android.Bluetooth.BluetoothGatt
status GattStatus
리턴 void