public class ARGeoTrackingConfiguration extends ARConfiguration
It allows placing geo-referenced anchors (ARGeoAnchor) in the scene by running world tracking with location and compass.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ARGeoTrackingConfiguration.Block_checkAvailabilityAtCoordinateCompletionHandler |
static interface |
ARGeoTrackingConfiguration.Block_checkAvailabilityWithCompletionHandler |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
ARGeoTrackingConfiguration(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static ARGeoTrackingConfiguration |
alloc() |
static ARGeoTrackingConfiguration |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
boolean |
appClipCodeTrackingEnabled()
Enable or disable app clip code tracking.
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
boolean |
automaticImageScaleEstimationEnabled()
Enables the estimation of a scale factor which may be used to correct the physical size of an image.
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static void |
checkAvailabilityAtCoordinateCompletionHandler(CLLocationCoordinate2D coordinate,
ARGeoTrackingConfiguration.Block_checkAvailabilityAtCoordinateCompletionHandler completionHandler)
Determines the availability of geo tracking at the given location.
|
static void |
checkAvailabilityWithCompletionHandler(ARGeoTrackingConfiguration.Block_checkAvailabilityWithCompletionHandler completionHandler)
Determines the availability of geo tracking at the current location.
|
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
NSSet<? extends ARReferenceImage> |
detectionImages()
Images to detect in the scene.
|
NSSet<? extends ARReferenceObject> |
detectionObjects()
Objects to detect in the scene.
|
long |
environmentTexturing()
The mode of environment texturing to run.
|
static long |
hash_static() |
ARGeoTrackingConfiguration |
init() |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static boolean |
isSupported() |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
long |
maximumNumberOfTrackedImages()
Maximum number of images to track simultaneously.
|
static ARGeoTrackingConfiguration |
new_objc() |
long |
planeDetection()
Type of planes to detect in the scene.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setAppClipCodeTrackingEnabled(boolean value)
Enable or disable app clip code tracking.
|
void |
setAutomaticImageScaleEstimationEnabled(boolean value)
Enables the estimation of a scale factor which may be used to correct the physical size of an image.
|
void |
setDetectionImages(NSSet<? extends ARReferenceImage> value)
Images to detect in the scene.
|
void |
setDetectionObjects(NSSet<? extends ARReferenceObject> value)
Objects to detect in the scene.
|
void |
setEnvironmentTexturing(long value)
The mode of environment texturing to run.
|
void |
setMaximumNumberOfTrackedImages(long value)
Maximum number of images to track simultaneously.
|
void |
setPlaneDetection(long value)
Type of planes to detect in the scene.
|
static void |
setVersion_static(long aVersion) |
void |
setWantsHDREnvironmentTextures(boolean value)
Determines whether environment textures will be provided with high dynamic range.
|
static org.moe.natj.objc.Class |
superclass_static() |
static NSArray<? extends ARVideoFormat> |
supportedVideoFormats() |
static boolean |
supportsAppClipCodeTracking()
Indicates whether app clip code tracking can be enabled on this device.
|
static boolean |
supportsFrameSemantics(long frameSemantics) |
static long |
version_static() |
boolean |
wantsHDREnvironmentTextures()
Determines whether environment textures will be provided with high dynamic range.
|
copyWithZone, frameSemantics, isLightEstimationEnabled, providesAudioData, setFrameSemantics, setLightEstimationEnabled, setProvidesAudioData, setVideoFormat, setWorldAlignment, videoFormat, worldAlignmentaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected ARGeoTrackingConfiguration(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static ARGeoTrackingConfiguration alloc()
public static ARGeoTrackingConfiguration allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public boolean automaticImageScaleEstimationEnabled()
If set to true ARKit will attempt to use the computed camera positions in order to compute the scale by which the given physical size differs from the estimated one. The information about the estimated scale can be found as the property estimatedScaleFactor on the ARImageAnchor. [@note] When set to true the transform of a returned ARImageAnchor will use the estimated scale factor to correct the translation. Default value is NO.
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static void checkAvailabilityAtCoordinateCompletionHandler(CLLocationCoordinate2D coordinate, ARGeoTrackingConfiguration.Block_checkAvailabilityAtCoordinateCompletionHandler completionHandler)
coordinate - Location at which to check.completionHandler - Completion handler that is called when availability has been determined. This handler is executed on an arbitrary serial queue. It takes the following parameters:
isAvailable - True if geo tracking is available at the given location, otherwise false.
error - An error that indicates why geo tracking is not available at the given location.public static void checkAvailabilityWithCompletionHandler(ARGeoTrackingConfiguration.Block_checkAvailabilityWithCompletionHandler completionHandler)
This method will attempt to acquire a location fix on a background thread, then check availability.
completionHandler - Completion handler that is called when availability has been determined. This handler is executed on an arbitrary serial queue. It takes the following parameters:
isAvailable - True if geo tracking is available at the current location, otherwise false.
error - An error that indicates why geo tracking is not available at the current location.public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public NSSet<? extends ARReferenceImage> detectionImages()
If set the session will attempt to detect the specified images. When an image is detected an ARImageAnchor will be added to the session.
public NSSet<? extends ARReferenceObject> detectionObjects()
If set the session will attempt to detect the specified objects. When an object is detected an ARObjectAnchor will be added to the session.
public long environmentTexturing()
If set, texture information will be accumulated and updated. Adding an AREnvironmentProbeAnchor to the session will get the current environment texture available from that probe's perspective which can be used for lighting virtual objects in the scene. Defaults to AREnvironmentTexturingNone.
public static long hash_static()
public ARGeoTrackingConfiguration init()
init in class ARConfigurationpublic static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static boolean isSupported()
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public long maximumNumberOfTrackedImages()
Setting the maximum number of tracked images will limit the number of images that can be tracked in a given frame. If more than the maximum is visible, only the images already being tracked will continue to track until tracking is lost or another image is removed. Images will continue to be detected regardless of images tracked. Default value is zero.
public static ARGeoTrackingConfiguration new_objc()
public long planeDetection()
If set, new planes will continue to be detected and updated over time. Detected planes will be added to the session as ARPlaneAnchor objects. In the event that two planes are merged, the newer plane will be removed. Defaults to ARPlaneDetectionNone.
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public void setAutomaticImageScaleEstimationEnabled(boolean value)
If set to true ARKit will attempt to use the computed camera positions in order to compute the scale by which the given physical size differs from the estimated one. The information about the estimated scale can be found as the property estimatedScaleFactor on the ARImageAnchor. [@note] When set to true the transform of a returned ARImageAnchor will use the estimated scale factor to correct the translation. Default value is NO.
public void setDetectionImages(NSSet<? extends ARReferenceImage> value)
If set the session will attempt to detect the specified images. When an image is detected an ARImageAnchor will be added to the session.
public void setDetectionObjects(NSSet<? extends ARReferenceObject> value)
If set the session will attempt to detect the specified objects. When an object is detected an ARObjectAnchor will be added to the session.
public void setEnvironmentTexturing(long value)
If set, texture information will be accumulated and updated. Adding an AREnvironmentProbeAnchor to the session will get the current environment texture available from that probe's perspective which can be used for lighting virtual objects in the scene. Defaults to AREnvironmentTexturingNone.
public void setMaximumNumberOfTrackedImages(long value)
Setting the maximum number of tracked images will limit the number of images that can be tracked in a given frame. If more than the maximum is visible, only the images already being tracked will continue to track until tracking is lost or another image is removed. Images will continue to be detected regardless of images tracked. Default value is zero.
public void setPlaneDetection(long value)
If set, new planes will continue to be detected and updated over time. Detected planes will be added to the session as ARPlaneAnchor objects. In the event that two planes are merged, the newer plane will be removed. Defaults to ARPlaneDetectionNone.
public static void setVersion_static(long aVersion)
public void setWantsHDREnvironmentTextures(boolean value)
public static org.moe.natj.objc.Class superclass_static()
public static NSArray<? extends ARVideoFormat> supportedVideoFormats()
public static boolean supportsFrameSemantics(long frameSemantics)
public static long version_static()
public boolean wantsHDREnvironmentTextures()
public boolean appClipCodeTrackingEnabled()
public void setAppClipCodeTrackingEnabled(boolean value)
public static boolean supportsAppClipCodeTracking()