C# Класс BluetoothLE.iOS.Service

Concrete implmentation of BluetoothLE.Core.IService interface
Наследование: IService, IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DiscoverCharacteristics ( ) : void

Discovers the characteristics for the services.

Dispose ( ) : void

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

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

Service ( CBPeripheral peripheral, CBService service ) : System

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

Приватные методы

Метод Описание
DiscoveredCharacteristic ( object sender, CBServiceEventArgs args ) : void

Описание методов

DiscoverCharacteristics() публичный Метод

Discovers the characteristics for the services.
public DiscoverCharacteristics ( ) : void
Результат void

Dispose() публичный Метод

Releases all resource used by the BluetoothLE.iOS.Service object.
Call Dispose when you are finished using the BluetoothLE.iOS.Service. The Dispose method leaves the BluetoothLE.iOS.Service in an unusable state. After calling Dispose, you must release all references to the BluetoothLE.iOS.Service so the garbage collector can reclaim the memory that the BluetoothLE.iOS.Service was occupying.
public Dispose ( ) : void
Результат void

Service() публичный Метод

Initializes a new instance of the BluetoothLE.iOS.Service class.
public Service ( CBPeripheral peripheral, CBService service ) : System
peripheral CBPeripheral The native peripheral.
service CBService The native service.
Результат System