Staticnavigationboolean
StaticpositioningWhether the positioning is currently in execution.
boolean
StaticcheckChecks if a point is inside a Geofence
Optionalcallback: (response: { geofence: any; isInsideGeofence: boolean }) => voidStaticconfigureAutomatically assists users in resolving app-related permission and sensor issues.
This method tells the native SDKs to present a user interface that explains detected configuration issues and guides users through the required steps to resolve them, following best practices for runtime permission requests.
Issues addressed include:
Use the userHelperOptions parameter to configure the available options.
Call enableUserHelper as a shortcut to enable the user helper with default configuration.
Call disableUserHelper as a shortcut to disable the user helper.
Options for the user helper.
StaticdisableDisables the user helper.
Shortcut for configureUserHelper with {enabled: false}.
StaticenableEnables the user helper.
Shortcut for configureUserHelper with {enabled: true}.
StaticfetchDownloads all the building data for the selected building. This info includes Floor, indoor and outdoor Pois, events and paths. Also it download floor maps and PoiCategory icons to local storage.
StaticfetchStaticfetchStaticfetchStaticfetchStaticfetchStaticfetchStaticfetchGet all PoiCategory, download and cache their icons asynchronously.
StaticfetchGet the normal PoiIcon for a category
PoiCategory. Not null.
StaticfetchGet the selected PoiIcon for a PoiCategory
PoiCategory. Not null.
StaticfetchStaticgetReturns the device identifier that has generated the location
StaticinitInitializes SitumPlugin.
This method must be called before invoking any other methods. This method can be safely called many times as it will only initialise the SDK if it is not already initialised.
void
StaticinternalINTERNAL METHOD.
Set a native MethodCall delegate. Do not use this method as it is intended for internal use by the map viewer module.
StaticinvalidateStaticonCallback that notifies when the user enters a Geofence.
In order to use correctly these callbacks you must know the following:
StaticonCallback that notifies when the user exits a Geofence.
In order to use correctly these callbacks you must know the following:
StaticonCallback that notifies when there is an error while the user is positioining.
the function called when there is an error
StaticonCallback that notifies when the user LocationStatus changes.
the function called when the user LocationStatus changes
StaticonCallback that notifies when the user stops positioning.
the function called when the user stops positioning.
StaticonStaticonCallback that notifies when the user does cancel the navigation.
the function called when the user cancels the navigation.
StaticonStaticonCallback that notifies when there is an error during navigation.
the function called when there is an error during navigation.
StaticonStaticonCallback that notifies when the user gets out of the current route.
the function called when the user gets out of the current route.
StaticonCallback that notifies every progress the user makes while navigating.
a function that returns the NavigationProgress by parameters.
StaticonStaticremoveStops positioning, removing all location updates
StaticremoveRemoves all location updates. This removes the internal state of the manager, including the listener provided in requestNavigationUpdates(NavigationRequest, NavigationListener), so it won't receive more progress updates.
StaticremoveRemoves all real time updates listners.
Optional_callback: FunctionStaticrequestStaticrequestStarts positioning.
OptionallocationRequest: LocationRequestPositioning options to configure how positioning will behave
StaticrequestSet the navigation params, and the listener that receives the updated navigation progress.
Can only exist one navigation with one listener at a time. If this method was previously invoked, but removeLocationUpdates() wasn't, removeLocationUpdates() is called internally.
Optionaloptions: NavigationRequestStaticrequestRequests a real time devices positions
callback to use when new device positions are updated
Optionalerror: (event: any) => voidcallback to use when an error on navigation udpates raises
Optionaloptions: anyRepresents the configuration for getting realtime devices positions in
Staticsdkvoid
StaticsetStaticsetSets the SDK ConfigurationOptions.
void
StaticsetStaticsetSet to true if you want the SDK to download the configuration from the Situm API and use it by default. Right now it only affects the LocationRequest. Default value is true from SDK version 2.83.5
void
StaticsetProvides user's email and password. This credentials will be used to obtain a valid user token to authenticate the server request, when necessary. Token obtaining is not necessary done when this method is executed. Old credentials will be removed.
user's email.
user's password.
void
StaticspeakINTERNAL METHOD.
Internal method that handles the required logic to speak aloud MapView messages.
The message that will be spoken aloud. See TextToSpeechMessage
StaticupdateINTERNAL METHOD.
Update SDK with the viewer navigation states. Do not use this method as it is intended for internal use by the map viewer module.
StaticupdateStaticvalidateINTERNAL METHOD.
Validate if the mapView internal settings have been properly configured Do not use this method as it is intended for internal use by the map viewer module.
Whether the navigation is currently in execution.