Package com.mapsindoors.mapssdk
Class Solution
- java.lang.Object
-
- com.mapsindoors.mapssdk.Solution
-
- All Implemented Interfaces:
MPModelBase
public class Solution extends java.lang.Object implements MPModelBase
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getAvailableLanguages()
java.lang.String
getCustomerId()
java.lang.String
getDefaultLanguage()
java.lang.String
getId()
java.lang.String
getLocationTemplate()
java.lang.String
getMapClientUrl()
java.lang.String
getName()
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>
getPositionProviderConfig()
Returns map of position provider configs.java.util.List<POIType>
getTypes()
boolean
hasLanguage(java.lang.String language)
Checks if the given language is available in the current solutionjava.lang.String
parseMapClientUrl(java.lang.String venueId, java.lang.String locationId)
String shareBody = "https://clients.mapsindoors.com/cul/" + venueId + "/details/" + locationId;
-
-
-
Method Detail
-
getId
@Nullable public java.lang.String getId()
-
getCustomerId
@Nullable public java.lang.String getCustomerId()
-
getName
@Nullable public java.lang.String getName()
-
getDefaultLanguage
@Nullable public java.lang.String getDefaultLanguage()
-
getAvailableLanguages
@Nullable public java.util.List<java.lang.String> getAvailableLanguages()
-
getTypes
@Nullable public java.util.List<POIType> getTypes()
-
getMapClientUrl
@Nullable public java.lang.String getMapClientUrl()
-
getLocationTemplate
@Nullable public java.lang.String getLocationTemplate()
-
parseMapClientUrl
@Nullable public java.lang.String parseMapClientUrl(@NonNull java.lang.String venueId, @NonNull java.lang.String locationId)
String shareBody = "https://clients.mapsindoors.com/cul/" + venueId + "/details/" + locationId;- Parameters:
venueId
-locationId
-- Returns:
- The URL with the given venue and location ids included
-
hasLanguage
public boolean hasLanguage(@Nullable java.lang.String language)
Checks if the given language is available in the current solution- Parameters:
language
- The language string- Returns:
true
if the given language is available,false
otherwise- Since:
- 3.2.0
-
getPositionProviderConfig
@Nullable public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> getPositionProviderConfig()
Returns map of position provider configs. Each kv-pair consists of the position provider name and a separate map for each specific provider. The provider specific map contains kv-pairs unique to that provider (some providers can have keys, secrets, ids, etc., so not a uniform format)- Returns:
- Map of position provider configurations
-
-