public class LibrarySettings
extends java.lang.Object
Constructor and Description |
---|
LibrarySettings() |
Modifier and Type | Method and Description |
---|---|
Credentials |
getCredentials()
Get login credentials.
|
java.lang.String |
getUserPositionArrowIcon()
Get the icon representing the user position with orientation.
|
java.lang.String |
getUserPositionIcon()
Get the icon representing the user position.
|
void |
setApiKey(java.lang.String email,
java.lang.String apiKey)
Set dashboard credentials.
|
void |
setDashboardUrl(java.lang.String dashboardUrl)
Overrides default dashboard URL.
|
void |
setDrawGeofences(boolean drawGeofences)
Draw the geofences over the map.
|
void |
setGoogleMap(MapView googleMap)
By default the library will create a Google Map itself, use this method to set your own one.
|
void |
setHasSearchView(boolean hasSearchView)
Set whether or not the search view should be displayed.
|
void |
setSearchViewPlaceholder(java.lang.String placeholder)
Set the text that will be used as placeholder in the search view component.
|
void |
setUseDashboardTheme(boolean useDashboardTheme)
Use the theme defined in the dashboard.
|
void |
setUserPass(java.lang.String email,
java.lang.String password)
Set dashboard credentials.
|
void |
setUserPositionArrowIcon(java.lang.String userPositionArrowIcon)
Set the icon representing the user position with orientation.
|
void |
setUserPositionIcon(java.lang.String userPositionIcon)
Set the icon representing the user position.
|
public void setUseDashboardTheme(boolean useDashboardTheme)
useDashboardTheme
- Whether the dashboard vs default theme should be used.public void setDrawGeofences(boolean drawGeofences)
public Credentials getCredentials()
public void setApiKey(java.lang.String email, java.lang.String apiKey)
email
- Email.apiKey
- ApiKey.public void setUserPass(java.lang.String email, java.lang.String password)
email
- Email.password
- Password.public void setDashboardUrl(java.lang.String dashboardUrl)
dashboardUrl
- Dashboard URL.public void setHasSearchView(boolean hasSearchView)
hasSearchView
- true to display the search view component.public void setSearchViewPlaceholder(java.lang.String placeholder)
placeholder
- Placeholder text.public void setGoogleMap(MapView googleMap)
googleMap
- Google Map view instancepublic java.lang.String getUserPositionIcon()
public void setUserPositionIcon(java.lang.String userPositionIcon)
userPositionIcon
- Path in the assets folder.public java.lang.String getUserPositionArrowIcon()
public void setUserPositionArrowIcon(java.lang.String userPositionArrowIcon)
userPositionArrowIcon
- Path in the assets folder.