public HomekitRoot createBridge ( HomekitAuthInfo authInfo , String label , String manufacturer , String model , String serialNumber ) throws IOException { HomekitRoot root = new HomekitRoot ( label , http , localAddress , authInfo ) ; root . addAccessory ( new HomekitBridge ( label , serialNumber , model , manufacturer ) ) ; return root ; }
Creates a bridge accessory capable of holding multiple child accessories . This has the advantage over multiple standalone accessories of only requiring a single pairing from iOS for the bridge .