FailedToConnect

public abstract class FailedToConnect extends Object

Error reported byBleAdapterwhen connection failed.

Constructors

Name Description
public FailedToConnect()

Methods

of

public static FailedToConnect of(Peripheral peripheral, JacquardError error)

Creates a new instance of FailedToConnect.

Parameters

Name Description
Peripheral peripheral
JacquardError error

ReturnValue

Name Description
FailedToConnect

peripheral

public abstract Peripheral peripheral()

The peripheral the connected failed to.

ReturnValue

Name Description
Peripheral

error

public abstract JacquardError error()

The error reported byBleAdapter.

ReturnValue

Name Description
JacquardError