Class PTRMapWidgetConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class PTRMapWidgetConfiguration implements Parcelable
Configuration class to construct PTRMapWidgetFragment
-
-
Field Summary
Fields Modifier and Type Field Description private Boolean
isAppBannerEnabled
private Boolean
isJoystickEnabled
private Boolean
isLocationEnabled
private Boolean
isPathFindingEnabled
private Boolean
isSearchEnabled
private Boolean
isRouteSummaryEnabled
private Boolean
isBuildingLevelSelectorEnabled
private Boolean
isLoadingViewEnabled
private Boolean
isExitButtonShown
private Boolean
isAugmentingRealityEnabled
private Boolean
shouldFocusOnFirstUserLocation
private Boolean
isPoiDetailViewEnabled
private Boolean
isRouteHeaderViewEnabled
private Boolean
isRouteFooterViewEnabled
private Boolean
isMapTrackingModeButtonEnabled
private Boolean
isMapTrackingModeHandlerEnabled
-
Constructor Summary
Constructors Constructor Description PTRMapWidgetConfiguration()
-
Method Summary
Modifier and Type Method Description final Boolean
isAppBannerEnabled()
final Unit
setAppBannerEnabled(Boolean isAppBannerEnabled)
final Boolean
isJoystickEnabled()
final Unit
setJoystickEnabled(Boolean isJoystickEnabled)
final Boolean
isLocationEnabled()
final Unit
setLocationEnabled(Boolean isLocationEnabled)
final Boolean
isPathFindingEnabled()
final Unit
setPathFindingEnabled(Boolean isPathFindingEnabled)
final Boolean
isSearchEnabled()
Flag to set default search functionality should be enabled or not final Unit
setSearchEnabled(Boolean isSearchEnabled)
Flag to set default search functionality should be enabled or not final Boolean
isRouteSummaryEnabled()
Flag to set the screen that displays the path steps should be displayed before starting the path finding or not final Unit
setRouteSummaryEnabled(Boolean isRouteSummaryEnabled)
Flag to set the screen that displays the path steps should be displayed before starting the path finding or not final Boolean
isBuildingLevelSelectorEnabled()
Flag to set default building/level selection functionality should be enabled or not false - level selector view is hiddentrue - level selector view is shown final Unit
setBuildingLevelSelectorEnabled(Boolean isBuildingLevelSelectorEnabled)
Flag to set default building/level selection functionality should be enabled or not false - level selector view is hiddentrue - level selector view is shown final Boolean
isLoadingViewEnabled()
Flag to enable/disable displaying loading view upon user interaction or API call that requires data fetch false - loading view is hiddentrue - loading view is shown final Unit
setLoadingViewEnabled(Boolean isLoadingViewEnabled)
Flag to enable/disable displaying loading view upon user interaction or API call that requires data fetch false - loading view is hiddentrue - loading view is shown final Boolean
isExitButtonShown()
Flag to enable/disable displaying exit button on map final Unit
setExitButtonShown(Boolean isExitButtonShown)
Flag to enable/disable displaying exit button on map final Boolean
isAugmentingRealityEnabled()
final Unit
setAugmentingRealityEnabled(Boolean isAugmentingRealityEnabled)
final Boolean
getShouldFocusOnFirstUserLocation()
final Unit
setShouldFocusOnFirstUserLocation(Boolean shouldFocusOnFirstUserLocation)
final Boolean
isPoiDetailViewEnabled()
final Unit
setPoiDetailViewEnabled(Boolean isPoiDetailViewEnabled)
final Boolean
isRouteHeaderViewEnabled()
final Unit
setRouteHeaderViewEnabled(Boolean isRouteHeaderViewEnabled)
final Boolean
isRouteFooterViewEnabled()
final Unit
setRouteFooterViewEnabled(Boolean isRouteFooterViewEnabled)
final Boolean
isMapTrackingModeButtonEnabled()
final Unit
setMapTrackingModeButtonEnabled(Boolean isMapTrackingModeButtonEnabled)
final Boolean
isMapTrackingModeHandlerEnabled()
final Unit
setMapTrackingModeHandlerEnabled(Boolean isMapTrackingModeHandlerEnabled)
final static PTRMapWidgetConfiguration
defaultConfiguration()
Constructs a PTRMapWidgetConfiguration with all components and views enabled final static PTRMapWidgetConfiguration
mapOnlyConfiguration()
Constructs a PTRMapWidgetConfiguration that only displays map. final static PTRMapWidgetConfiguration
locationDisabledConfiguration()
Constructs a PTRMapWidgetConfiguration disabling all location related components and views final static PTRMapWidgetConfiguration
pathFindingDisabledConfiguration()
Constructs a PTRMapWidgetConfiguration disabling all path finding related views -
-
Method Detail
-
isAppBannerEnabled
final Boolean isAppBannerEnabled()
-
setAppBannerEnabled
final Unit setAppBannerEnabled(Boolean isAppBannerEnabled)
-
isJoystickEnabled
final Boolean isJoystickEnabled()
-
setJoystickEnabled
final Unit setJoystickEnabled(Boolean isJoystickEnabled)
-
isLocationEnabled
final Boolean isLocationEnabled()
-
setLocationEnabled
final Unit setLocationEnabled(Boolean isLocationEnabled)
-
isPathFindingEnabled
final Boolean isPathFindingEnabled()
-
setPathFindingEnabled
final Unit setPathFindingEnabled(Boolean isPathFindingEnabled)
-
isSearchEnabled
final Boolean isSearchEnabled()
Flag to set default search functionality should be enabled or not
-
setSearchEnabled
final Unit setSearchEnabled(Boolean isSearchEnabled)
Flag to set default search functionality should be enabled or not
-
isRouteSummaryEnabled
final Boolean isRouteSummaryEnabled()
Flag to set the screen that displays the path steps should be displayed before starting the path finding or not
-
setRouteSummaryEnabled
final Unit setRouteSummaryEnabled(Boolean isRouteSummaryEnabled)
Flag to set the screen that displays the path steps should be displayed before starting the path finding or not
-
isBuildingLevelSelectorEnabled
final Boolean isBuildingLevelSelectorEnabled()
Flag to set default building/level selection functionality should be enabled or not false - level selector view is hidden
true - level selector view is shown
-
setBuildingLevelSelectorEnabled
final Unit setBuildingLevelSelectorEnabled(Boolean isBuildingLevelSelectorEnabled)
Flag to set default building/level selection functionality should be enabled or not false - level selector view is hidden
true - level selector view is shown
-
isLoadingViewEnabled
final Boolean isLoadingViewEnabled()
Flag to enable/disable displaying loading view upon user interaction or API call that requires data fetch false - loading view is hidden
true - loading view is shown
-
setLoadingViewEnabled
final Unit setLoadingViewEnabled(Boolean isLoadingViewEnabled)
Flag to enable/disable displaying loading view upon user interaction or API call that requires data fetch false - loading view is hidden
true - loading view is shown
-
isExitButtonShown
final Boolean isExitButtonShown()
Flag to enable/disable displaying exit button on map
-
setExitButtonShown
final Unit setExitButtonShown(Boolean isExitButtonShown)
Flag to enable/disable displaying exit button on map
-
isAugmentingRealityEnabled
final Boolean isAugmentingRealityEnabled()
-
setAugmentingRealityEnabled
final Unit setAugmentingRealityEnabled(Boolean isAugmentingRealityEnabled)
-
getShouldFocusOnFirstUserLocation
final Boolean getShouldFocusOnFirstUserLocation()
-
setShouldFocusOnFirstUserLocation
final Unit setShouldFocusOnFirstUserLocation(Boolean shouldFocusOnFirstUserLocation)
-
isPoiDetailViewEnabled
final Boolean isPoiDetailViewEnabled()
-
setPoiDetailViewEnabled
final Unit setPoiDetailViewEnabled(Boolean isPoiDetailViewEnabled)
-
isRouteHeaderViewEnabled
final Boolean isRouteHeaderViewEnabled()
-
setRouteHeaderViewEnabled
final Unit setRouteHeaderViewEnabled(Boolean isRouteHeaderViewEnabled)
-
isRouteFooterViewEnabled
final Boolean isRouteFooterViewEnabled()
-
setRouteFooterViewEnabled
final Unit setRouteFooterViewEnabled(Boolean isRouteFooterViewEnabled)
-
isMapTrackingModeButtonEnabled
final Boolean isMapTrackingModeButtonEnabled()
-
setMapTrackingModeButtonEnabled
final Unit setMapTrackingModeButtonEnabled(Boolean isMapTrackingModeButtonEnabled)
-
isMapTrackingModeHandlerEnabled
final Boolean isMapTrackingModeHandlerEnabled()
-
setMapTrackingModeHandlerEnabled
final Unit setMapTrackingModeHandlerEnabled(Boolean isMapTrackingModeHandlerEnabled)
-
defaultConfiguration
final static PTRMapWidgetConfiguration defaultConfiguration()
Constructs a PTRMapWidgetConfiguration with all components and views enabled
-
mapOnlyConfiguration
final static PTRMapWidgetConfiguration mapOnlyConfiguration()
Constructs a PTRMapWidgetConfiguration that only displays map. Other views and components are disabled
-
locationDisabledConfiguration
final static PTRMapWidgetConfiguration locationDisabledConfiguration()
Constructs a PTRMapWidgetConfiguration disabling all location related components and views
-
pathFindingDisabledConfiguration
final static PTRMapWidgetConfiguration pathFindingDisabledConfiguration()
Constructs a PTRMapWidgetConfiguration disabling all path finding related views
-
-
-
-