C# 클래스 BluetoothLE.Droid.Device

Concrete implmentation of BluetoothLE.Core.IDevice interface
상속: IDevice
파일 보기 프로젝트 열기: tbrushwyler/Xamarin.BluetoothLE 1 사용 예제들

공개 메소드들

메소드 설명
Device ( Android.Bluetooth.BluetoothDevice nativeDevice, Android.Bluetooth.BluetoothGatt gatt, GattCallback callback, int rssi, byte scanRecord ) : System

Initializes a new instance of the BluetoothLE.Droid.Device class.

DeviceIdFromAddress ( string address ) : System.Guid

Gets a device identifier from a MAC address

Disconnect ( ) : void

Discconnect from the device.

DiscoverServices ( ) : void

Initiate a service discovery on the device

비공개 메소드들

메소드 설명
ServicesDiscovered ( object sender, EventArgs e ) : void

메소드 상세

Device() 공개 메소드

Initializes a new instance of the BluetoothLE.Droid.Device class.
public Device ( Android.Bluetooth.BluetoothDevice nativeDevice, Android.Bluetooth.BluetoothGatt gatt, GattCallback callback, int rssi, byte scanRecord ) : System
nativeDevice Android.Bluetooth.BluetoothDevice Native device.
gatt Android.Bluetooth.BluetoothGatt Native Gatt.
callback GattCallback Callback.
rssi int Rssi.
scanRecord byte scanRecord.
리턴 System

DeviceIdFromAddress() 공개 정적인 메소드

Gets a device identifier from a MAC address
public static DeviceIdFromAddress ( string address ) : System.Guid
address string The MAC address.
리턴 System.Guid

Disconnect() 공개 메소드

Discconnect from the device.
public Disconnect ( ) : void
리턴 void

DiscoverServices() 공개 메소드

Initiate a service discovery on the device
public DiscoverServices ( ) : void
리턴 void