Package apple.appclip

Class APActivationPayload

  • All Implemented Interfaces:
    NSCoding, NSCopying, NSSecureCoding, NSObject

    public class APActivationPayload
    extends NSObject
    implements NSSecureCoding, NSCopying
    Information that’s passed to an App Clip on launch. When users launch an App Clip, the platform passes an activation payload to the App Clip as part of an object. When the App Clip receives the payload, confirm the user’s physical location at the time of the invocation. For more information, see . API-Since: 14.0
    • Constructor Detail

      • APActivationPayload

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

      • URL

        @Nullable
        public @Nullable NSURL URL()
        The URL of the link that launched the App Clip. Use `url` to retrieve data that’s passed to an App Clip on launch, and use the data to update the user interface of the App Clip. The value of `url` is the same as the property. If you don’t need to verify the user’s location when they launch your App Clip, use `webpageURL` instead. For more information, see .
      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static APActivationPayload 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()
      • confirmAcquiredInRegionCompletionHandler

        public void confirmAcquiredInRegionCompletionHandler​(@NotNull
                                                             @NotNull CLRegion region,
                                                             @NotNull
                                                             @NotNull APActivationPayload.Block_confirmAcquiredInRegionCompletionHandler completionHandler)
        Checks whether an App Clip invocation happened at an expected physical location. - Parameters: - region: The expected physical location at the time of the App Clip invocation. - completionHandler: A closure called when the platform confirms the expected physical location at the time of the App Clip invocation. The closure takes the following parameters: - term `inRegion`: A Boolean value that indicates whether the App Clip invocation happened at the expected physical location. - term `error`: The error object that describes why the platform couldn't confirm the user's physical location. This parameter is `nil` if the platform was able to determine the user's physical location at the time of the App Clip invocation. Confirm the user's location at the time of the App Clip invocation if the App Clip is associated with a physical location. The request to confirm the location fails with ``App_clips/Apactivationpayloaderror/disallowed`` if the source of the invocation isn't an NFC tag or visual code. For the platform to accept the request to confirm the user's location, you need to make modifications to the `Info.plist` file of the App Clip. For more information, see . - Note: Functionality to confirm the user's location is only available to App Clips. For the full app, request permission to access the user's location and make use of the framework. For more information, see .
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • 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()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.