-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class PTRMapWidgetConfiguration implements Parcelable
Configuration class to construct PTRMapWidgetFragment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
PTRMapWidgetConfiguration.Companion
-
Field Summary
Fields Modifier and Type Field Description 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
getIsLocationEnabled()
final Unit
setIsLocationEnabled(Boolean isLocationEnabled)
final Boolean
getIsPathFindingEnabled()
final Unit
setIsPathFindingEnabled(Boolean isPathFindingEnabled)
final Boolean
getIsSearchEnabled()
Flag to set default search functionality should be enabled or not final Unit
setIsSearchEnabled(Boolean isSearchEnabled)
Flag to set default search functionality should be enabled or not final Boolean
getIsRouteSummaryEnabled()
Flag to set the screen that displays the path steps should be displayed before starting the path finding or not final Unit
setIsRouteSummaryEnabled(Boolean isRouteSummaryEnabled)
Flag to set the screen that displays the path steps should be displayed before starting the path finding or not final Boolean
getIsBuildingLevelSelectorEnabled()
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
setIsBuildingLevelSelectorEnabled(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
getIsLoadingViewEnabled()
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
setIsLoadingViewEnabled(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
getIsExitButtonShown()
Flag to enable/disable displaying exit button on map final Unit
setIsExitButtonShown(Boolean isExitButtonShown)
Flag to enable/disable displaying exit button on map final Boolean
getIsAugmentingRealityEnabled()
final Unit
setIsAugmentingRealityEnabled(Boolean isAugmentingRealityEnabled)
final Boolean
getShouldFocusOnFirstUserLocation()
final Unit
setShouldFocusOnFirstUserLocation(Boolean shouldFocusOnFirstUserLocation)
final Boolean
getIsPoiDetailViewEnabled()
final Unit
setIsPoiDetailViewEnabled(Boolean isPoiDetailViewEnabled)
final Boolean
getIsRouteHeaderViewEnabled()
final Unit
setIsRouteHeaderViewEnabled(Boolean isRouteHeaderViewEnabled)
final Boolean
getIsRouteFooterViewEnabled()
final Unit
setIsRouteFooterViewEnabled(Boolean isRouteFooterViewEnabled)
final Boolean
getIsMapTrackingModeButtonEnabled()
final Unit
setIsMapTrackingModeButtonEnabled(Boolean isMapTrackingModeButtonEnabled)
final Boolean
getIsMapTrackingModeHandlerEnabled()
final Unit
setIsMapTrackingModeHandlerEnabled(Boolean isMapTrackingModeHandlerEnabled)
-
-
Method Detail
-
getIsLocationEnabled
final Boolean getIsLocationEnabled()
-
setIsLocationEnabled
final Unit setIsLocationEnabled(Boolean isLocationEnabled)
-
getIsPathFindingEnabled
final Boolean getIsPathFindingEnabled()
-
setIsPathFindingEnabled
final Unit setIsPathFindingEnabled(Boolean isPathFindingEnabled)
-
getIsSearchEnabled
final Boolean getIsSearchEnabled()
Flag to set default search functionality should be enabled or not
-
setIsSearchEnabled
final Unit setIsSearchEnabled(Boolean isSearchEnabled)
Flag to set default search functionality should be enabled or not
-
getIsRouteSummaryEnabled
final Boolean getIsRouteSummaryEnabled()
Flag to set the screen that displays the path steps should be displayed before starting the path finding or not
-
setIsRouteSummaryEnabled
final Unit setIsRouteSummaryEnabled(Boolean isRouteSummaryEnabled)
Flag to set the screen that displays the path steps should be displayed before starting the path finding or not
-
getIsBuildingLevelSelectorEnabled
final Boolean getIsBuildingLevelSelectorEnabled()
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
-
setIsBuildingLevelSelectorEnabled
final Unit setIsBuildingLevelSelectorEnabled(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
-
getIsLoadingViewEnabled
final Boolean getIsLoadingViewEnabled()
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
-
setIsLoadingViewEnabled
final Unit setIsLoadingViewEnabled(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
-
getIsExitButtonShown
final Boolean getIsExitButtonShown()
Flag to enable/disable displaying exit button on map
-
setIsExitButtonShown
final Unit setIsExitButtonShown(Boolean isExitButtonShown)
Flag to enable/disable displaying exit button on map
-
getIsAugmentingRealityEnabled
final Boolean getIsAugmentingRealityEnabled()
-
setIsAugmentingRealityEnabled
final Unit setIsAugmentingRealityEnabled(Boolean isAugmentingRealityEnabled)
-
getShouldFocusOnFirstUserLocation
final Boolean getShouldFocusOnFirstUserLocation()
-
setShouldFocusOnFirstUserLocation
final Unit setShouldFocusOnFirstUserLocation(Boolean shouldFocusOnFirstUserLocation)
-
getIsPoiDetailViewEnabled
final Boolean getIsPoiDetailViewEnabled()
-
setIsPoiDetailViewEnabled
final Unit setIsPoiDetailViewEnabled(Boolean isPoiDetailViewEnabled)
-
getIsRouteHeaderViewEnabled
final Boolean getIsRouteHeaderViewEnabled()
-
setIsRouteHeaderViewEnabled
final Unit setIsRouteHeaderViewEnabled(Boolean isRouteHeaderViewEnabled)
-
getIsRouteFooterViewEnabled
final Boolean getIsRouteFooterViewEnabled()
-
setIsRouteFooterViewEnabled
final Unit setIsRouteFooterViewEnabled(Boolean isRouteFooterViewEnabled)
-
getIsMapTrackingModeButtonEnabled
final Boolean getIsMapTrackingModeButtonEnabled()
-
setIsMapTrackingModeButtonEnabled
final Unit setIsMapTrackingModeButtonEnabled(Boolean isMapTrackingModeButtonEnabled)
-
getIsMapTrackingModeHandlerEnabled
final Boolean getIsMapTrackingModeHandlerEnabled()
-
setIsMapTrackingModeHandlerEnabled
final Unit setIsMapTrackingModeHandlerEnabled(Boolean isMapTrackingModeHandlerEnabled)
-
-
-
-