Package apple.arkit

Class ARConfiguration

    • Constructor Detail

      • ARConfiguration

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static ARConfiguration 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()
      • 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)
      • isLightEstimationEnabled

        public boolean isLightEstimationEnabled()
        Enable or disable light estimation. Enabled by default.
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • isSupported

        public static boolean isSupported()
        Determines whether this device supports the ARConfiguration.
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • providesAudioData

        public boolean providesAudioData()
        Determines whether to capture and provide audio data. Disabled by default.
      • resolveClassMethod

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

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

        public void setLightEstimationEnabled​(boolean value)
        Enable or disable light estimation. Enabled by default.
      • setProvidesAudioData

        public void setProvidesAudioData​(boolean value)
        Determines whether to capture and provide audio data. Disabled by default.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • setWorldAlignment

        public void setWorldAlignment​(long value)
        Determines how the coordinate system should be aligned with the world. The default is ARWorldAlignmentGravity.
      • superclass_static

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

        public static long version_static()
      • worldAlignment

        public long worldAlignment()
        Determines how the coordinate system should be aligned with the world. The default is ARWorldAlignmentGravity.
      • frameSemantics

        public long frameSemantics()
        The type of semantic understanding to provide with each frame. Use the `supportsFrameSemantics` class method to check if the configuration type you intend to run supports the set of frame semantics. For example, when running a session with a configuration of type ARWorldTrackingConfiguration one would need to use `+[ ARWorldTrackingConfiguration supportsFrameSemantics:]` to perform said check. An exception is thrown if the option is not supported. Defaults to ARFrameSemanticNone.
        See Also:
        ARFrameSemantics
      • setFrameSemantics

        public void setFrameSemantics​(long value)
        The type of semantic understanding to provide with each frame. Use the `supportsFrameSemantics` class method to check if the configuration type you intend to run supports the set of frame semantics. For example, when running a session with a configuration of type ARWorldTrackingConfiguration one would need to use `+[ ARWorldTrackingConfiguration supportsFrameSemantics:]` to perform said check. An exception is thrown if the option is not supported. Defaults to ARFrameSemanticNone.
        See Also:
        ARFrameSemantics
      • setVideoFormat

        public void setVideoFormat​(@NotNull
                                   @NotNull ARVideoFormat value)
        Video format of the session output. API-Since: 11.3
      • supportedVideoFormats

        @NotNull
        public static @NotNull NSArray<? extends ARVideoFormat> supportedVideoFormats()
        A list of supported video formats for this configuration and device. The first element in the list is the default format for session output. API-Since: 11.3
      • supportsFrameSemantics

        public static boolean supportsFrameSemantics​(long frameSemantics)
        Determines whether the type of frame semantics is supported by the device and ARConfiguration class. Semantic frame understanding is not supported on all devices. Use the `supportsFrameSemantics` class method to check if the configuration type you intend to run supports the set of frame semantics. For example, when running a session with a configuration of type ARWorldTrackingConfiguration one would need to use `+[ ARWorldTrackingConfiguration supportsFrameSemantics:]` to perform said check.
        See Also:
        API-Since: 13.0
      • videoFormat

        @NotNull
        public @NotNull ARVideoFormat videoFormat()
        Video format of the session output. API-Since: 11.3
      • configurableCaptureDeviceForPrimaryCamera

        @Nullable
        public static @Nullable AVCaptureDevice configurableCaptureDeviceForPrimaryCamera()
        Returns a pointer to the capture device of the camera that's used for rendering, so developers can adjust capture settings. May return nil if it is not recommended to modify capture settings, for example if the primary camera is used for tracking. API-Since: 16.0
      • recommendedVideoFormatFor4KResolution

        @Nullable
        public static @Nullable ARVideoFormat recommendedVideoFormatFor4KResolution()
        Returns a video format using a 4K resolution from the list of supported video formats. May return nil if 4K is not supported for this configuration or device. API-Since: 16.0
      • recommendedVideoFormatForHighResolutionFrameCapturing

        @Nullable
        public static @Nullable ARVideoFormat recommendedVideoFormatForHighResolutionFrameCapturing()
        Returns a recommended video format that supports capturing high resolution frames with a significantly higher resolution than the streaming camera resolution. Using this format may consume more power. Other video formats may support capturing high resolution frames as well, albeit at a lower quality or resolution.
      • setVideoHDRAllowed

        public void setVideoHDRAllowed​(boolean value)
        Whether HDR capturing is allowed if the current video format supports it. Defaults to @c NO. API-Since: 16.0
      • videoHDRAllowed

        public boolean videoHDRAllowed()
        Whether HDR capturing is allowed if the current video format supports it. Defaults to @c NO. API-Since: 16.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.