C# 클래스 BluetoothLE.iOS.Device

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

공개 메소드들

메소드 설명
Device ( CBPeripheral peripheral ) : System

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

DeviceIdentifierToGuid ( NSUuid id ) : System.Guid

Gets the device identifier.

Disconnect ( ) : void

Discconnect from the device.

DiscoverServices ( ) : void

Initiate a service discovery on the device

Dispose ( ) : void

Releases all resource used by the BluetoothLE.iOS.Device object.

Call Dispose when you are finished using the BluetoothLE.iOS.Device. The Dispose method leaves the BluetoothLE.iOS.Device in an unusable state. After calling Dispose, you must release all references to the BluetoothLE.iOS.Device so the garbage collector can reclaim the memory that the BluetoothLE.iOS.Device was occupying.

비공개 메소드들

메소드 설명
DiscoveredService ( object sender, NSErrorEventArgs args ) : void

메소드 상세

Device() 공개 메소드

Initializes a new instance of the BluetoothLE.iOS.Device class.
public Device ( CBPeripheral peripheral ) : System
peripheral CBPeripheral Native peripheral.
리턴 System

DeviceIdentifierToGuid() 공개 정적인 메소드

Gets the device identifier.
public static DeviceIdentifierToGuid ( NSUuid id ) : System.Guid
id NSUuid The device identifier as a NSUuid.
리턴 System.Guid

Disconnect() 공개 메소드

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

DiscoverServices() 공개 메소드

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

Dispose() 공개 메소드

Releases all resource used by the BluetoothLE.iOS.Device object.
Call Dispose when you are finished using the BluetoothLE.iOS.Device. The Dispose method leaves the BluetoothLE.iOS.Device in an unusable state. After calling Dispose, you must release all references to the BluetoothLE.iOS.Device so the garbage collector can reclaim the memory that the BluetoothLE.iOS.Device was occupying.
public Dispose ( ) : void
리턴 void