C# 클래스 BluetoothLE.Droid.GattCallback

Gatt callback to handle Gatt events.
상속: Android.Bluetooth.BluetoothGattCallback
파일 보기 프로젝트 열기: tbrushwyler/Xamarin.BluetoothLE 1 사용 예제들

공개 메소드들

메소드 설명
OnCharacteristicChanged ( Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattCharacteristic characteristic ) : void

Callback triggered as a result of a remote characteristic notification.

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

Raises the characteristic read event.

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

Raises the connection state change event.

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

Raises the services discovered event.

메소드 상세

OnCharacteristicChanged() 공개 메소드

Callback triggered as a result of a remote characteristic notification.
public OnCharacteristicChanged ( Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattCharacteristic characteristic ) : void
gatt Android.Bluetooth.BluetoothGatt Gatt.
characteristic Android.Bluetooth.BluetoothGattCharacteristic Characteristic.
리턴 void

OnCharacteristicRead() 공개 메소드

Raises the characteristic read event.
public OnCharacteristicRead ( Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattCharacteristic characteristic, GattStatus status ) : void
gatt Android.Bluetooth.BluetoothGatt Gatt.
characteristic Android.Bluetooth.BluetoothGattCharacteristic Characteristic.
status GattStatus Status.
리턴 void

OnConnectionStateChange() 공개 메소드

Raises the connection state change event.
public OnConnectionStateChange ( Android.Bluetooth.BluetoothGatt gatt, GattStatus status, ProfileState newState ) : void
gatt Android.Bluetooth.BluetoothGatt Gatt.
status GattStatus Status.
newState ProfileState New state.
리턴 void

OnServicesDiscovered() 공개 메소드

Raises the services discovered event.
public OnServicesDiscovered ( Android.Bluetooth.BluetoothGatt gatt, GattStatus status ) : void
gatt Android.Bluetooth.BluetoothGatt Gatt.
status GattStatus Status.
리턴 void