Options
All
  • Public
  • Public/Protected
  • All
Menu

External module scripts/bg/devices

A list of remote Device that we know about

Index

Interfaces

Type aliases

Events

Variables

Functions

Type aliases

DeviceMap

DeviceMap: Map<string, Device>

Mapping of Devices by unique name

Events

onChromeMessage

  • onChromeMessage(request: IMsgType, sender: MessageSender, response: ChromeMsg.ResponseCB): boolean

onLoad

  • onLoad(): void

Variables

Let devices

devices: Map<string, Device> = new Map() as DeviceMap

A Map of Device objects keyed by their unique names

Functions

add

clear

  • clear(): void

load

  • load(): void

mapToObj

remove

  • remove(device: Device): void

removeByName

  • removeByName(uniqueName: string): void

save

  • save(): void

Generated using TypeDoc