Options
All
  • Public
  • Public/Protected
  • All
Menu

IO Service allow your to quickly manager your inputs and outputs

Hierarchy

  • IOService

Index

Constructors

constructor

Properties

Private calls

calls: Call[]

Optional input

input: Device

Private inputs

inputs: Device[] = []

onDevicesUpdatedListeners

onDevicesUpdatedListeners: Function[] = []

Optional output

output: Device

Private outputs

outputs: Device[] = []

volume

volume: number = 100

Methods

Private emitDevicesUpdatedListeners

  • emitDevicesUpdatedListeners(inputChanged: boolean, outputChanged: boolean): void
  • Parameters

    • inputChanged: boolean
    • outputChanged: boolean

    Returns void

getChannel

Private getDevices

  • getDevices(devices: any): void

getInputs

getOutputs

Private listenForDevicesUpdate

  • listenForDevicesUpdate(): void

load

meetsRequirement

  • meetsRequirement(): boolean

onDevicesUpdated

  • onDevicesUpdated(fn: Function): void
  • Parameters

    • fn: Function

    Returns void

Private onInputListUpdated

  • onInputListUpdated(): boolean

Private onOutputlistUpdated

  • onOutputlistUpdated(): boolean

setVolume

  • setVolume(vol: number): void

useDefaultInput

  • useDefaultInput(): void

useDefaultOutput

  • useDefaultOutput(): void

useInput

  • useInput(device: Device, withRetryIfFailed?: boolean): Promise<void>

useOutput

Legend

  • Constructor
  • Property
  • Method
  • Private property
  • Private method
  • Static property
  • Static method
  • Property
  • Protected method

Generated using TypeDoc