C# Class BluetoothLE.Droid.Service

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

Public Methods

Method Description
DiscoverCharacteristics ( ) : void

Discovers the characteristics for the services.

Service ( Android.Bluetooth.BluetoothGattService nativeService, Android.Bluetooth.BluetoothGatt gatt, GattCallback callback ) : System

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

ServiceIdFromUuid ( UUID uuid ) : System.Guid

Gets a service identifier from a UUID

Method Details

DiscoverCharacteristics() public method

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

Service() public method

Initializes a new instance of the BluetoothLE.Droid.Service class.
public Service ( Android.Bluetooth.BluetoothGattService nativeService, Android.Bluetooth.BluetoothGatt gatt, GattCallback callback ) : System
nativeService Android.Bluetooth.BluetoothGattService Native service.
gatt Android.Bluetooth.BluetoothGatt Native Gatt.
callback GattCallback Callback.
return System

ServiceIdFromUuid() public static method

Gets a service identifier from a UUID
public static ServiceIdFromUuid ( UUID uuid ) : System.Guid
uuid UUID The service UUID.
return System.Guid