DeviceConnectionTimeout.constructor

DESCRIPTION

Construct a new DeviceConnectionTimout object.

DECLARATION

constructor(private timeoutMilliseconds: number, private timeoutCallback: () => void)

PARAMETERS

timeoutMilliseconds:
The number of milliseconds to wait in the notConnected state.
timeoutCallback:
A callback which is invoked of the connection times out.