ServicesDiscovered

public abstract class ServicesDiscovered extends Object

Data class for holdingBluetoothGattServicediscovered for a tag.

Constructors

Name Description
public ServicesDiscovered()

Methods

of

public static ServicesDiscovered of(Peripheral peripheral, List<BluetoothGattService> service)

Creates a new instance ofServicesDiscovered.

Parameters

Name Description
Peripheral peripheral
List<BluetoothGattService> service

ReturnValue

Name Description
ServicesDiscovered

peripheral

public abstract Peripheral peripheral()

The Peripheral the services belong to.

ReturnValue

Name Description
Peripheral

services

public abstract List<BluetoothGattService> services()

List ofBluetoothGattServicediscovered.

ReturnValue

Name Description
List<BluetoothGattService>