Package apple.uikit

Class UIEventAttribution

    • Constructor Detail

      • UIEventAttribution

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static UIEventAttribution 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()
      • 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()
      • destinationURL

        @NotNull
        public @NotNull NSURL destinationURL()
        The destination URL of an attribution. For example, the link opened when an advertisement is tapped. This field corresponds to `attributed_on_site` in the subsequent attribution report.
      • hash_static

        public static long hash_static()
      • initWithSourceIdentifierDestinationURLSourceDescriptionPurchaser

        public UIEventAttribution initWithSourceIdentifierDestinationURLSourceDescriptionPurchaser​(byte sourceIdentifier,
                                                                                                   @NotNull
                                                                                                   @NotNull NSURL destinationURL,
                                                                                                   @NotNull
                                                                                                   @NotNull java.lang.String sourceDescription,
                                                                                                   @NotNull
                                                                                                   @NotNull java.lang.String purchaser)
        Create a `UIEventAttribution` object.
        Parameters:
        sourceIdentifier - An identifier associated with the attribution.
        destinationURL - The destination URL of the attribution.
        sourceDescription - A high-level description of the content to be attributed. Pass in an empty string if no description is available.
        purchaser - The name of the party that purchased the content to be attributed. Pass in an empty string if no name is available.
        Returns:
        An instance of `UIEventAttribution` with the specified values for each field. The `sourceDescription` and `purchaser` fields may be truncated by the system if they are too long.
      • 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)
      • purchaser

        @NotNull
        public @NotNull java.lang.String purchaser()
        The name of the party that purchased the content to be attributed. For example, this could be the name of the party that purchased the placement of an advertisement. The system may truncate this field if it is too long.
      • reportEndpoint

        @Nullable
        public @Nullable NSURL reportEndpoint()
        The URL to which the attribution report will be sent. You do not provide this field at creation time. Instead, you must define the URL as a string in your app's Info.plist under the `NSAdvertisingAttributionReportEndpoint` key. This field corresponds to `source_site` in the subsequent attribution report.
      • 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)
      • sourceDescription

        @NotNull
        public @NotNull java.lang.String sourceDescription()
        A high-level description of the source of the attribution. For example, this could be a description of the content of an advertisement a user taps on. The system may truncate this field if it is too long.
      • sourceIdentifier

        public byte sourceIdentifier()
        An identifier that is associated with the source of the attribution. For example, you may choose to use this as a campaign identifier to measure the effectiveness of different advertisement campaigns. This field corresponds to `source_id` in the subsequent attribution report.
      • superclass_static

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

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.