public final class

MapWidgetType

extends Object
java.lang.Object
   ↳ com.steerpath.sdk.maps.MapWidgetType

Class Overview

Broadcast Intent keys to inform which BottomSheet (or other possible future widget) is currently shown in the SteerpathMapView.

Summary

Nested Classes
@interface MapWidgetType.BottomSheetType  
Constants
String BOTTOMSHEET_PAYLOAD Intent Bundle key for Parcelable.
String BOTTOMSHEET_TYPE Intent Bundle key for @BottomSheetType
int CUSTOM BottomSheet implementation is coming from the app.
int INFO For builtin InfoBottomSheet.
String MAP_WIDGET_EVENT_BOTTOMSHEET_ATTACHED Broadcasted when any BottomSheet has been added.
int NAVIGATION For builtin NavigationBottomSheet.
int NAVIGATION_ERROR For builtin Navigation errors.
int NAVIGATION_PREVIEW For builtin NavigationPreviewBottomSheet.
int NONE No BottomSheet is shown.
int SEARCH For builtin SearchBottomSheet.
int SETTINGS For builtin SettingsBottomSheet.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String BOTTOMSHEET_PAYLOAD

Intent Bundle key for Parcelable.

Constant Value: "com.steerpath.sdk.BOTTOMSHEET_PAYLOAD"

public static final String BOTTOMSHEET_TYPE

Intent Bundle key for @BottomSheetType

Constant Value: "com.steerpath.sdk.BOTTOMSHEET_TYPE"

public static final int CUSTOM

BottomSheet implementation is coming from the app.

Constant Value: 7 (0x00000007)

public static final int INFO

For builtin InfoBottomSheet.

Constant Value: 5 (0x00000005)

public static final String MAP_WIDGET_EVENT_BOTTOMSHEET_ATTACHED

Broadcasted when any BottomSheet has been added. BOTTOMSHEET_TYPE will be in Intent Bundle with vale of @BottomSheetType. BOTTOMSHEET_PAYLOAD is optional and can contain for example MetaFeature.

Constant Value: "com.steerpath.sdk.MAP_WIDGET_EVENT_BOTTOMSHEET_ATTACHED"

public static final int NAVIGATION

For builtin NavigationBottomSheet.

Constant Value: 2 (0x00000002)

public static final int NAVIGATION_ERROR

For builtin Navigation errors.

Constant Value: 3 (0x00000003)

public static final int NAVIGATION_PREVIEW

For builtin NavigationPreviewBottomSheet.

Constant Value: 1 (0x00000001)

public static final int NONE

No BottomSheet is shown.

Constant Value: 0 (0x00000000)

public static final int SEARCH

For builtin SearchBottomSheet.

Constant Value: 4 (0x00000004)

public static final int SETTINGS

For builtin SettingsBottomSheet.

Constant Value: 6 (0x00000006)