Package apple.homekit

Class HMActionSet

  • All Implemented Interfaces:
    NSObject

    public class HMActionSet
    extends NSObject
    This class represents a collection of action objects that can be executed. The order of execution of these actions is undefined.
    • Constructor Detail

      • HMActionSet

        protected HMActionSet​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • actionSetType

        public java.lang.String actionSetType()
        Specifies the action set type - user-defined, trigger-owned or one of the builtin types. Builtin action sets cannot be removed from the home. trigger-owned action sets cannot be executed, renamed or associated with another trigger.
      • actions

        public NSSet<? extends HMAction> actions()
        Set of HMAction objects that represent the individual items of the action set.
      • addActionCompletionHandler

        public void addActionCompletionHandler​(HMAction action,
                                               HMActionSet.Block_addActionCompletionHandler completion)
        Adds an action to the action set.
        Parameters:
        action - Action object to add to the action set.
        completion - Block that is invoked once the request is processed. The NSError provides more information on the status of the request, error will be nil on success.
      • isExecuting

        public boolean isExecuting()
        Specifies whether the action set is currently executing or not.
      • lastExecutionDate

        public NSDate lastExecutionDate()
        Specifies the last execution date for the action set.
      • name

        public java.lang.String name()
        The name of the action set.
      • removeActionCompletionHandler

        public void removeActionCompletionHandler​(HMAction action,
                                                  HMActionSet.Block_removeActionCompletionHandler completion)
        Removes an existing action from the action set.
        Parameters:
        action - Action object to remove from the action set.
        completion - Block that is invoked once the request is processed. The NSError provides more information on the status of the request, error will be nil on success.
      • uniqueIdentifier

        public NSUUID uniqueIdentifier()
        A unique identifier for the action set.
      • updateNameCompletionHandler

        public void updateNameCompletionHandler​(java.lang.String name,
                                                HMActionSet.Block_updateNameCompletionHandler completion)
        This method is used to change the name of the action set.
        Parameters:
        name - New name for the action set.
        completion - Block that is invoked once the request is processed. The NSError provides more information on the status of the request, error will be nil on success.