Interface AccessoryWithVolumeControlType

    • Method Detail

      • subscribeVolumeControlType

        void subscribeVolumeControlType​(HomekitCharacteristicChangeCallback callback)
        Subscribes to changes in the volume.
        Parameters:
        callback - the function to call when the state changes.
      • unsubscribeVolumeControlType

        void unsubscribeVolumeControlType()
        Unsubscribes from changes in the volume.