Class SFSafariViewControllerActivityButton

    • Constructor Detail

      • SFSafariViewControllerActivityButton

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • 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()
      • extensionIdentifier

        @Nullable
        public @Nullable java.lang.String extensionIdentifier()
        The Bundle Identifier of the extension that should be ran when the button is tapped. This extension can run JavaScript and present a UIViewController, just as if it was selected from the UIActivityViewController in Safari or SFSafariViewController. This extension must be part of your app or another app with the same Team ID.
      • hash_static

        public static long hash_static()
      • initWithTemplateImageExtensionIdentifier

        public SFSafariViewControllerActivityButton initWithTemplateImageExtensionIdentifier​(@NotNull
                                                                                             @NotNull UIImage templateImage,
                                                                                             @NotNull
                                                                                             @NotNull java.lang.String extensionIdentifier)
        Initializes an SFSafariViewControllerActivityButton with the given image, accessibility label, and extension bundle identifier.
        Parameters:
        templateImage - the image to show in SFSafariViewController's toolbar. This is a template image that will get the same color as all other buttons, defined by @link -[SFSafariViewController preferredControlTintColor] @/link. This image should look similar to the other buttons in SFSafariViewController, and should be close to a 1:1 aspect ratio.
        extensionIdentifier - the bundle identifier of the Action or Sharing Extension to run when the button is tapped. The extension can run JavaScript and present a view controller, as if it were selected from the UIActivityViewController in Safari or SFSafariViewController. This extension must be part of your app or another app with the same Team ID.
      • 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
      • templateImage

        @Nullable
        public @Nullable UIImage templateImage()
        A template image to use for the toolbar button. This button should look similar to the rest of SFSafariViewController's buttons, and be close to a 1:1 aspect ratio. The button will inherit the tint color set by @link -[SFSafariViewController preferredControlTintColor] @/link.
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.