Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • KeepKeyManager

Index

Constructors

constructor

Properties

deviceEvents

deviceEvents: EventEmitter2 = new eventemitter2.EventEmitter2({ wildcard: true })

keepkeys

keepkeys: object

Type declaration

Protected onConnectCallback

onConnectCallback: USBDeviceEventCallback = defaultUSBDeviceCallback

Protected onDisconnectCallback

onDisconnectCallback: USBDeviceEventCallback = defaultUSBDeviceCallback

Accessors

initializedCount

initializedCount:

Methods

add

  • add(keepkey: KeepKey, deviceID?: string): boolean

decorateEvents

  • decorateEvents(deviceID: string, events: EventEmitter2): void

disconnectAll

  • disconnectAll(): void

exec

  • exec(method: string, ...args: any[]): Promise<object>
  • Parameters

    • method: string
    • Rest ...args: any[]

    Returns Promise<object>

get

Protected handleConnectKeepKey

  • handleConnectKeepKey(e: USBConnectionEvent): void

Protected handleDisconnectKeepKey

  • handleDisconnectKeepKey(e: USBConnectionEvent): void

initializeWebUSBDevices

  • initializeWebUSBDevices(webusbConfig?: WebUSBDeviceConfig, devices?: USBDevice[]): Promise<number>

remove

  • remove(deviceID: string): Promise<void>

removeAll

  • removeAll(): Promise<void>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc