public class ARGeoAnchor extends ARAnchor implements ARTrackable
The anchor's transform will be automatically updated by the session based on location and heading. The session needs to be configured with ARGeoTrackingConfiguration.
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
ARGeoAnchor(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
static ARGeoAnchor |
alloc() |
static ARGeoAnchor |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
double |
altitude()
The distance to mean sea level, in meters (negative values indicate it's below sea level).
|
long |
altitudeSource()
The source of altitude information.
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
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 NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
CLLocationCoordinate2D |
coordinate()
The coordinate where this anchor will be placed.
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
static long |
hash_static() |
ARGeoAnchor |
init() |
ARGeoAnchor |
initWithAnchor(ARAnchor anchor)
Initializes a new anchor object copying values from an existing anchor.
|
ARGeoAnchor |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
ARGeoAnchor |
initWithCoordinate(CLLocationCoordinate2D coordinate)
Initializes a new ARGeoAnchor with the given coordinates.
|
ARGeoAnchor |
initWithCoordinateAltitude(CLLocationCoordinate2D coordinate,
double altitude)
Initializes a new ARGeoAnchor with the given coordinates and altitude.
|
ARGeoAnchor |
initWithNameCoordinate(java.lang.String name,
CLLocationCoordinate2D coordinate)
Initializes a new named ARGeoAnchor with the given coordinates.
|
ARGeoAnchor |
initWithNameCoordinateAltitude(java.lang.String name,
CLLocationCoordinate2D coordinate,
double altitude)
Initializes a new named ARGeoAnchor with the given coordinates and altitude.
|
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) |
boolean |
isTracked()
Tracking state of the anchor
|
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static ARGeoAnchor |
new_objc() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
static long |
version_static() |
copyWithZone, encodeWithCoder, identifier, name, sessionIdentifieraccessibilityActivate, 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, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static ARGeoAnchor alloc()
public static ARGeoAnchor allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public double altitude()
Only valid when altitudeSource is not ARAltitudeSourceUnknown.
public long altitudeSource()
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 NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public CLLocationCoordinate2D coordinate()
The anchor's transform will be automatically updated by the session when ARGeoTrackingConfiguration is set.
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public ARGeoAnchor init()
public ARGeoAnchor initWithAnchor(ARAnchor anchor)
ARAnchorCopyingThis initializer will be called any time copy is called on anchor of this class. This method must be implemented for any ARAnchor subclasses that adds properties.
initWithAnchor in interface ARAnchorCopyinginitWithAnchor in class ARAnchoranchor - The anchor from which to copy values.public ARGeoAnchor initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class ARAnchorpublic ARGeoAnchor initWithCoordinate(CLLocationCoordinate2D coordinate)
ARKit will query the ground level altitude during runtime, and populate the altitude as soon as that information becomes available.
coordinate - Coordinates.public ARGeoAnchor initWithCoordinateAltitude(CLLocationCoordinate2D coordinate, double altitude)
coordinate - Coordinates.altitude - Altitude in meters.public ARGeoAnchor initWithNameCoordinate(java.lang.String name, CLLocationCoordinate2D coordinate)
ARKit will query the ground level altitude during runtime, and populate the altitude as soon as that information becomes available.
name - Name of the anchor.coordinate - Coordinates.public ARGeoAnchor initWithNameCoordinateAltitude(java.lang.String name, CLLocationCoordinate2D coordinate, double altitude)
name - Name of the anchor.coordinate - Coordinates.altitude - Altitude in meters.public 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 boolean isTracked()
ARTrackableThe isTracked value is used to determine the anchor transform’s validity. When the object being tracked is no longer detected in the camera image, its anchor will return NO for isTracked.
isTracked in interface ARTrackablepublic static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static ARGeoAnchor new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCoding_supportsSecureCoding in class ARAnchorpublic static long version_static()