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 java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • 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)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • copyWithZone

        public java.lang.Object copyWithZone​(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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • 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​(ARVideoFormat value)
        Video format of the session output.
      • supportedVideoFormats

        public static 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.
      • 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:
        ARFrameSemantics
      • videoFormat

        public ARVideoFormat videoFormat()
        Video format of the session output.