VpsARCoreLocationSource

constructor(context: Context, session: CoreSession, vpsConfig: VpsConfig = VpsConfig())

Creates a VPS location source bound to the given session.

Parameters

context

The context used to access ARCore and device sensors.

session

The session providing the map data and shared services.

vpsConfig

The VPS configuration. Defaults to VpsConfig.

Throws

if the session's map data has no VPS endpoint.