Package apple.arkit

Class ARQuickLookPreviewItem

    • Constructor Detail

      • ARQuickLookPreviewItem

        protected ARQuickLookPreviewItem​(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)
      • allowsContentScaling

        public boolean allowsContentScaling()
        Whether or not AR Quick Look allows content scaling in AR mode. Defaults to `YES` which allows scaling content in AR mode.
      • 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)
      • canonicalWebPageURL

        public NSURL canonicalWebPageURL()
        An optional canonical web page URL for the 3D content that will be shared. If this is supplied, the URL to the canonical web page is shared instead of the 3D content file. For example, providing https://developer.apple.com/arkit/gallery/ as the canonical web page URL string will be shared via the Share button. If the web page URL string is malformed or not provided, then AR Quick Look will default to sharing the 3D content.
      • 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()
      • initWithFileAtURL

        public ARQuickLookPreviewItem initWithFileAtURL​(NSURL url)
        Creates an object representing the 3D content that will be previewed in AR Quick Look. This object will be previewed in AR Quick Look using the default behavior: - Start in Object mode without camera passthrough - Display the Share button for 3D content sharing - Allow scaling content in both Object and AR mode This is a promise to the ARQuickLookPreviewItem class that the URL points to a 3D content file. This class does not deal with the file's existence or content, and leaves it up to QuickLook to handle and process the URL.
        Parameters:
        url - A file URL to 3D content file (e.g. usdz).
        Returns:
        The preview object to display in AR Quick Look.
      • 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()
      • previewItemTitle

        public java.lang.String previewItemTitle()
        Description copied from interface: QLPreviewItem
        The item's title this will be used as apparent item title. The title replaces the default item display name. This property is optional.
        Specified by:
        previewItemTitle in interface QLPreviewItem
      • resolveClassMethod

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

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

        public void setAllowsContentScaling​(boolean value)
        Whether or not AR Quick Look allows content scaling in AR mode. Defaults to `YES` which allows scaling content in AR mode.
      • setCanonicalWebPageURL

        public void setCanonicalWebPageURL​(NSURL value)
        An optional canonical web page URL for the 3D content that will be shared. If this is supplied, the URL to the canonical web page is shared instead of the 3D content file. For example, providing https://developer.apple.com/arkit/gallery/ as the canonical web page URL string will be shared via the Share button. If the web page URL string is malformed or not provided, then AR Quick Look will default to sharing the 3D content.
      • 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()