Interface AccessoryWithMute


  • public interface AccessoryWithMute
    Accessory with mute characteristic MuteCharacteristic.
    • Method Detail

      • setMute

        CompletableFuture<Void> setMute​(boolean mute)
                                 throws Exception
        Sets the mute status
        Parameters:
        mute - true if accessory should be muted
        Returns:
        a future that completes when the change is made
        Throws:
        Exception - when the change cannot be made
      • subscribeMuteState

        void subscribeMuteState​(HomekitCharacteristicChangeCallback callback)
        Subscribes to changes in mute state.
        Parameters:
        callback - the function to call when the state changes.
      • unsubscribeMuteState

        void unsubscribeMuteState()
        Unsubscribes from changes in the mute state.