Class HMCharacteristicEvent<T extends NSObject>

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol
Direct Known Subclasses:
HMMutableCharacteristicEvent

public class HMCharacteristicEvent<T extends NSObject>
extends HMEvent
Since:
Available in iOS 9.0 and later.
  • Constructor Details

    • HMCharacteristicEvent

      protected HMCharacteristicEvent()
    • HMCharacteristicEvent

      protected HMCharacteristicEvent​(NSObject.Handle h, long handle)
    • HMCharacteristicEvent

      protected HMCharacteristicEvent​(NSObject.SkipInit skipInit)
    • HMCharacteristicEvent

      public HMCharacteristicEvent​(HMCharacteristic characteristic, T triggerValue)
  • Method Details

    • getCharacteristic

      public HMCharacteristic getCharacteristic()
    • getTriggerValue

      public T getTriggerValue()
    • init

      protected long init​(HMCharacteristic characteristic, T triggerValue)
    • updateTriggerValue

      @Deprecated public void updateTriggerValue​(T triggerValue, VoidBlock1<NSError> completion)
      Deprecated.
      Deprecated in iOS 11.0. No longer supported.
      Since:
      Available in iOS 9.0 and later.
    • isSupportedForHome

      public static boolean isSupportedForHome​(HMHome home)
      Since:
      Available in iOS 11.0 and later.