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

상속: Plugin.BLE.Abstractions.DeviceBase
파일 보기 프로젝트 열기: xabre/xamarin-bluetooth-le 1 사용 예제들

공개 메소드들

메소드 설명
CloseGatt ( ) : void
Device ( Adapter adapter, Android.Bluetooth.BluetoothDevice nativeDevice, Android.Bluetooth.BluetoothGatt gatt, IGattCallback gattCallback, int rssi, byte advertisementData = null ) : System
Disconnect ( ) : void
ParseScanRecord ( byte scanRecord ) : List
Update ( Android.Bluetooth.BluetoothDevice nativeDevice, Android.Bluetooth.BluetoothGatt gatt, IGattCallback gattCallback ) : void
UpdateRssiAsync ( ) : Task

보호된 메소드들

메소드 설명
GetServicesNativeAsync ( ) : Task>
GetState ( ) : DeviceState

비공개 메소드들

메소드 설명
ParseDeviceId ( ) : System.Guid

메소드 상세

CloseGatt() 공개 메소드

public CloseGatt ( ) : void
리턴 void

Device() 공개 메소드

public Device ( Adapter adapter, Android.Bluetooth.BluetoothDevice nativeDevice, Android.Bluetooth.BluetoothGatt gatt, IGattCallback gattCallback, int rssi, byte advertisementData = null ) : System
adapter Adapter
nativeDevice Android.Bluetooth.BluetoothDevice
gatt Android.Bluetooth.BluetoothGatt
gattCallback IGattCallback
rssi int
advertisementData byte
리턴 System

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

GetServicesNativeAsync() 보호된 메소드

protected GetServicesNativeAsync ( ) : Task>
리턴 Task>

GetState() 보호된 메소드

protected GetState ( ) : DeviceState
리턴 DeviceState

ParseScanRecord() 공개 정적인 메소드

public static ParseScanRecord ( byte scanRecord ) : List
scanRecord byte
리턴 List

Update() 공개 메소드

public Update ( Android.Bluetooth.BluetoothDevice nativeDevice, Android.Bluetooth.BluetoothGatt gatt, IGattCallback gattCallback ) : void
nativeDevice Android.Bluetooth.BluetoothDevice
gatt Android.Bluetooth.BluetoothGatt
gattCallback IGattCallback
리턴 void

UpdateRssiAsync() 공개 메소드

public UpdateRssiAsync ( ) : Task
리턴 Task