interface API { hap : __module ; hapLegacyTypes : __module ; platformAccessory : typeof PlatformAccessory ; serverVersion : string ; user : typeof User ; version : number ; on ( event : "didFinishLaunching" ,
listener : ( ( ) => void ) ) : this ; on ( event : "shutdown" ,
listener : ( ( ) => void ) ) : this ; publishCameraAccessories ( pluginIdentifier : string ,
accessories : PlatformAccessory < UnknownContext > [] ) : void ; publishExternalAccessories ( pluginIdentifier : string ,
accessories : PlatformAccessory < UnknownContext > [] ) : void ; registerAccessory ( accessoryName : string ,
constructor : AccessoryPluginConstructor ) : void ; registerAccessory ( pluginIdentifier : string ,
accessoryName : string ,
constructor : AccessoryPluginConstructor ) : void ; registerPlatform < Config > ( platformName : string ,
constructor : PlatformPluginConstructor < Config > ) : void ; registerPlatform < Config > ( pluginIdentifier : string ,
platformName : string ,
constructor : PlatformPluginConstructor < Config > ) : void ; registerPlatformAccessories ( pluginIdentifier : string ,
platformName : string ,
accessories : PlatformAccessory < UnknownContext > [] ) : void ; unregisterPlatformAccessories ( pluginIdentifier : string ,
platformName : string ,
accessories : PlatformAccessory < UnknownContext > [] ) : void ; updatePlatformAccessories ( accessories : PlatformAccessory < UnknownContext > [] ) : void ; versionGreaterOrEqual ( version : string ) : boolean ; } PropertiesReadonly
hap Legacy Types hap Legacy Types : __module
Readonly
platform Accessory Readonly
server Version server Version : string
Readonly
version version : number
Methodson 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 < Config > ( platformName , constructor ) : void Returns void register Platform < Config > ( 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.