C# Class BluetoothLE.iOS.Service

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

Public Methods

Method 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

Method Description
DiscoveredCharacteristic ( object sender, CBServiceEventArgs args ) : void

Method Details

DiscoverCharacteristics() public method

Discovers the characteristics for the services.
public DiscoverCharacteristics ( ) : void
return void

Dispose() public method

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
return void

Service() public method

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.
return System