Package apple.homekit

Class HMLocationEvent

    • Constructor Detail

      • HMLocationEvent

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

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

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

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

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

        @NotNull
        public static @NotNull 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • 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()
      • init

        public HMLocationEvent init()
        Description copied from class: HMEvent
        API-Since: 9.0 Deprecated-Since: 16.4 Deprecated-Message: HMEvent is abstract
        Overrides:
        init in class HMEvent
      • initWithRegion

        public HMLocationEvent initWithRegion​(@NotNull
                                              @NotNull CLRegion region)
        Initializes a new location event object
        Parameters:
        region - - Region with at least one property of notifyOnEntry or notifyOnExit set to TRUE.
        Returns:
        Instance object representing the location event.
      • region

        @Nullable
        public @Nullable CLRegion region()
        Region on which events are triggered based on the properties notifyOnEntry and notifyOnExit. This property will be nil when an application is not authorized for location services.
      • updateRegionCompletionHandler

        @Deprecated
        public void updateRegionCompletionHandler​(@NotNull
                                                  @NotNull CLRegion region,
                                                  @NotNull
                                                  @NotNull HMLocationEvent.Block_updateRegionCompletionHandler completion)
        Deprecated.
        Updates the region
        Parameters:
        region - - New region with at least one property of notifyOnEntry or notifyOnExit set to TRUE.
        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. API-Since: 9.0 Deprecated-Since: 11.0 Deprecated-Message: No longer supported.
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • isSupportedForHome

        public static boolean isSupportedForHome​(@NotNull
                                                 @NotNull HMHome home)
      • mutableCopyWithZone

        @NotNull
        public @NotNull java.lang.Object mutableCopyWithZone​(@Nullable
                                                             @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        mutableCopyWithZone in interface NSMutableCopying
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.