interface API { hap : __module ; hapLegacyTypes : __module ; platformAccessory : typeof PlatformAccessory ; serverVersion : string ; user : typeof User ; version : number ; on ( event ,
listener ) : this ; on ( event ,
listener ) : this ; publishCameraAccessories ( pluginIdentifier ,
accessories ) : void ; publishExternalAccessories ( pluginIdentifier ,
accessories ) : void ; registerAccessory ( accessoryName ,
constructor ) : void ; registerAccessory ( pluginIdentifier ,
accessoryName ,
constructor ) : void ; registerPlatform ( platformName ,
constructor ) : void ; registerPlatform ( pluginIdentifier ,
platformName ,
constructor ) : void ; registerPlatformAccessories ( pluginIdentifier ,
platformName ,
accessories ) : void ; unregisterPlatformAccessories ( pluginIdentifier ,
platformName ,
accessories ) : void ; updatePlatformAccessories ( accessories ) : void ; versionGreaterOrEqual ( version ) : boolean ; } Properties Readonly hap hap : __module
Readonly hap Legacy Types hap Legacy Types : __module
Readonly platform Accessory Readonly server Version server Version : string
Readonly version version : number
Methods on on ( event , listener ) : this Parameters event : "didFinishLaunching" listener : ( ( ) => void ) Returns this on ( event , listener ) : this Parameters event : "shutdown" listener : ( ( ) => void ) Returns this publish Camera Accessories publish Camera Accessories ( pluginIdentifier , accessories ) : void Returns void publish External Accessories publish External Accessories ( pluginIdentifier , accessories ) : void Returns void register Accessory register Accessory ( accessoryName , constructor ) : void Returns void register Accessory ( pluginIdentifier , accessoryName , constructor ) : void Returns void register Platform register Platform ( platformName , constructor ) : void Returns void register Platform ( pluginIdentifier , platformName , constructor ) : void Returns void register Platform Accessories register Platform Accessories ( pluginIdentifier , platformName , accessories ) : void Returns void unregister Platform Accessories unregister Platform Accessories ( pluginIdentifier , platformName , accessories ) : void Returns void update Platform Accessories update Platform Accessories ( accessories ) : void Returns void version Greater Or Equal version Greater Or Equal ( version ) : boolean Returns boolean
The current homebridge semver version.