Skip to content

philtv-js / PhilTVPairing

Class: PhilTVPairing

Constructors

new PhilTVPairing()

new PhilTVPairing(initParams): PhilTVPairing

Parameters

initParams: PhilTVPairingParams

Returns

PhilTVPairing

Methods

completePairing()

completePairing(pin): Promise<readonly [Error, undefined] | readonly [undefined, object]>

Parameters

pin: string

Returns

Promise<readonly [Error, undefined] | readonly [undefined, object]>


startPairing()

startPairing(): Promise<object>

Returns

Promise<object>

promptForPin()

promptForPin: () => Promise<string>

Returns

Promise<string>