C# Class BluetoothLE.iOS.Service

Concrete implmentation of BluetoothLE.Core.IService interface
Inheritance: IService, IDisposable
Afficher le fichier Open project: tbrushwyler/Xamarin.BluetoothLE Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
DiscoveredCharacteristic ( object sender, CBServiceEventArgs args ) : void

Method Details

DiscoverCharacteristics() public méthode

Discovers the characteristics for the services.
public DiscoverCharacteristics ( ) : void
Résultat void

Dispose() public méthode

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
Résultat void

Service() public méthode

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.
Résultat System