RssiUpdate

public abstract class RssiUpdate extends Object

Data class emitted byBleAdapterwhen a read remote rssi notification callback is received.

Constructors

Name Description
public RssiUpdate()

Methods

of

public static RssiUpdate of(Peripheral peripheral, int value)

Creates a new instance of RssiUpdate.

Parameters

Name Description
Peripheral peripheral
int value

ReturnValue

Name Description
RssiUpdate

peripheral

public abstract Peripheral peripheral()

The peripheral that reported the event.

ReturnValue

Name Description
Peripheral

value

public abstract int value()

The rssi value of the bluetooth device.

ReturnValue

Name Description
int