MapsIndoors
class MapsIndoors
MapsIndoors
Types
Link copied to clipboard
interface OnAPIKeyErrorListener
Invoked in case of a INVALID_API_KEY error when performing an internal http request
Functions
Link copied to clipboard
open fun addDisplayRuleForLocation(@NonNull location: MPLocation, @NonNull displayRule: MPDisplayRule): Boolean
Add a relation between a MPLocation and a MPDisplayRule.
Link copied to clipboard
open fun addLocationSourceOnStatusChangedListener(@Nullable listener: MPLocationSourceOnStatusChangedListener)
Adds the given listener that will be invoked each time a location source status changes
Link copied to clipboard
open fun addLocationSources(@NonNull locationSources: List<MPLocationSource>, @Nullable onResultReadyListener: OnResultReadyListener)
Adds one or more location data sources Note that if this method or setLocationSources is not invoked, a MapsIndoors data source will be usedWhen this method is invoked, getLocations will be called on all the location sources registered only if any new sources has been added
Link copied to clipboard
Add a one time listener to be invoked when MapsIndoors is ready
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Applies a list of MPUserRole to the user that will get the UserRole specific locations.
Link copied to clipboard
Checks if there is on device data (embedded/locally stored) available.
Link copied to clipboard
Disable SDK event logging through MapsIndoors.
Link copied to clipboard
Gets the MPAppConfig for the current API Key/language
Link copied to clipboard
Returns a list of MPUserRole that is applied to the user
Link copied to clipboard
open fun getAuthenticationDetails(@NonNull apiKey: String, @NonNull onAuthDetailsReadyListener: OnAuthDetailsReadyListener)
Link copied to clipboard
Gets the MapsIndoors authentication token, if any has been set.
Link copied to clipboard
Returns the list of the current solution's available languages
Link copied to clipboard
Gets the MPBuildingCollection for the current API Key/language
Link copied to clipboard
Gets the MPCategoryCollection for the current API Key/language
Link copied to clipboard
Link copied to clipboard
Retrieve the default display rule (hardcoded display rule in the SDK).
Link copied to clipboard
Returns the current solution's default language
Link copied to clipboard
Retrieve the display rule for the given MPLocation Requires that a solution is loaded.
Retrieve the display rule for the given MPSolutionDisplayRule enum.
Retrieve the display rule with a given name.
Link copied to clipboard
Link copied to clipboard
Gets the current SDK language
Link copied to clipboard
Retrieves a MPLocation by its id
Link copied to clipboard
Gets all locations (a list of MPLocation objects) for the current API Key/language
Link copied to clipboard
Link copied to clipboard
Retrieves a list of MPLocation by external id(s)
Link copied to clipboard
Retrieve the main display rule (defined in backend data and can be configured in the CMS).
Link copied to clipboard
Gets the default location data source (MapsIndoors location data)
Link copied to clipboard
Link copied to clipboard
Gets a list of available map styles
Link copied to clipboard
Link copied to clipboard
Returns the current position provider, if any
Link copied to clipboard
Gets the MPSolution for the current API Key/language
Link copied to clipboard
Get the MPSolutionInfo data for the current API Key/language
Link copied to clipboard
Link copied to clipboard
Gets the User Roles for the current solution Note that role names are localized
Link copied to clipboard
Gets the MPVenueCollection for the current API Key/language
Link copied to clipboard
Checks if the current api key is a valid one
Link copied to clipboard
Link copied to clipboard
Checks if the SDK has been allowed to access the network
Link copied to clipboard
Remove a relation between a MPLocation and a MPDisplayRule.
Link copied to clipboard
open fun removeLocationSourceOnStatusChangedListener(@Nullable listener: MPLocationSourceOnStatusChangedListener)
Removes the given listener
Link copied to clipboard
open fun removeLocationSources(@NonNull locationSources: List<MPLocationSource>, @Nullable onResultReadyListener: OnResultReadyListener)
Removes one or more location data sources When this method is invoked, getLocations will be called on all the location sources registered only if any sources has been removed
Link copied to clipboard
Remove a onMapsIndoorsReadyListener
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun reverseGeoCode(@NonNull point: MPPoint, @NonNull onGeoCodeResultReadyListener: OnGeoCodeResultReadyListener)
Get a MPGeoCodeResult that contains lists of MPLocation by MPLocationBaseType, where the MPPoint is inside the geometry.
Link copied to clipboard
Sets the MapsIndoors authentication token.
Link copied to clipboard
Sets the SDK's internal language.
Link copied to clipboard
open fun setLocationSources(@NonNull locationSources: List<MPLocationSource>, @Nullable onResultReadyListener: OnResultReadyListener)
Sets one or more location data sources Note that if this method or addLocationSources is not invoked a MapsIndoors data source will be usedWhen this method is invoked, getLocations will be called on all the location sources registered
Link copied to clipboard
Sets a MPNetworkOptions to use for all internal Backend Requests.
Link copied to clipboard
Allows or not the SDK to access the network (online data) This will directly affect the online state of the SDK
Link copied to clipboard
Link copied to clipboard
Main data synchronization method If not manually invoked,
MapControl.create()
will