MapGptManager
interface MapGptManager
This interface can be used to invoke specific functions related to MapGPT.
Functions
Link copied to clipboard
Call this in your Activity or Fragment #onCreate function to allow MapGPT to register the necessary permission launcher.
Link copied to clipboard
Call this in your Activity or Fragment #onDestory function to allow MapGPT to unregister the permission launcher.
Link copied to clipboard
The capability settings give users an ability to override capabilities of the MapGPT SDK through the settings screen. This function allows you to edit the capability settings available to enable or disable from the settings user interface.
Link copied to clipboard
abstract fun setCapabilityMiddleware(middlewares: Set<MapGptCapabilitiesMiddleware<out MiddlewareContext>>)
Sets middleware with MapGPT capabilities.
Link copied to clipboard
Call this in your Activity or Fragment to force stop the avatar as required.
Link copied to clipboard
Toggle MapGPT avatar.
Link copied to clipboard
Set functions that allow you to override the MapGPT context.