UNPKG

homebridge-pjlink

Version:

Homebridge accessory for PJLink supported projectors

35 lines 1.33 kB
import { API, Service } from 'homebridge'; import { PlatformAccessory } from 'homebridge/lib/platformAccessory'; import { Logger } from 'homebridge/lib/logger'; import { PJLinkConfig } from './PJLinkPlatformConfig'; import { PJLinkPlatform } from './PJLinkPlatform'; export declare class PJLinkPlatformAccessory { private readonly log; private readonly api; private readonly config; private readonly platform; private readonly accessory; private readonly name; private readonly manufacturer; private readonly ip; private readonly port; private readonly password; private readonly interval?; private readonly enableSwitch; private readonly enableSpeaker; private readonly device; private readonly intervalId?; private readonly informationHandler; private readonly tvHandler; private readonly inputsHandler; private readonly speakerHandler?; constructor(log: Logger, api: API, config: PJLinkConfig, platform: PJLinkPlatform, accessory: PlatformAccessory); /** * This method is called directly after creation of this instance. * It should return all services which should be added to the accessory. * @returns Service[] */ getServices(): Service[]; update(): void; } //# sourceMappingURL=PJLinkPlatformAccessory.d.ts.map