On this page←API Reference Return to API Reference index←packageNianticSpatial.NSDK.AR.XRSubsystems NianticSpatial.NSDK.AR.XRSubsystems←classXRVps2Subsystem NianticSpatial.NSDK.AR.XRSubsystems.XRVps2Subsystem Method GetDeviceGeolocation GetDeviceGeolocation Declaration public XRVps2Geolocation GetDeviceGeolocation(HeadingMode headingMode = HeadingMode.CameraDirection) Parameters NameTypeSummaryheadingModeHeadingModeControls how the heading is derived. Use CameraDirection when the device is upright, or DeviceTop when flat or for a compass-style heading.
Use CameraDirection when the device is upright,
or DeviceTop when flat or for a compass-style heading.