Class RegionSelectionOptions
- java.lang.Object
-
- com.mapbox.mapboxsdk.plugins.offline.model.RegionSelectionOptions
-
- All Implemented Interfaces:
android.os.Parcelable
public abstract class RegionSelectionOptions extends java.lang.Object implements android.os.ParcelableOptions specific to the Region Selection UI component.- Since:
- 0.2.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRegionSelectionOptions.BuilderThe Builder class in charge of constructing this class and setting the values accordingly.
-
Constructor Summary
Constructors Constructor Description RegionSelectionOptions()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static RegionSelectionOptions.Builderbuilder()Used to build a new instance of this class.abstract com.mapbox.mapboxsdk.geometry.LatLngBoundsstartingBounds()Define the map's starting camera position by providing a bounding boxabstract com.mapbox.mapboxsdk.camera.CameraPositionstatingCameraPosition()Define the map's starting camera position by providing a camera position.abstract RegionSelectionOptions.BuildertoBuilder()A convenient way to build a new instance of this class using all of the same values this current instance has.
-
-
-
Method Detail
-
startingBounds
@Nullable public abstract com.mapbox.mapboxsdk.geometry.LatLngBounds startingBounds()
Define the map's starting camera position by providing a bounding box- Returns:
- the bounding box which is where the
OfflineActivityinitial map's camera position will be placed - Since:
- 0.2.0
-
statingCameraPosition
@Nullable public abstract com.mapbox.mapboxsdk.camera.CameraPosition statingCameraPosition()
Define the map's starting camera position by providing a camera position.- Returns:
- the camera position which is where the
OfflineActivityinitial map's camera position will be placed - Since:
- 0.2.0
-
toBuilder
public abstract RegionSelectionOptions.Builder toBuilder()
A convenient way to build a new instance of this class using all of the same values this current instance has. Use this when you wish to modify a single entry.- Returns:
- a new
RegionSelectionOptions.Builderinstance with all the same values this classes instance contains - Since:
- 0.2.0
-
builder
public static RegionSelectionOptions.Builder builder()
Used to build a new instance of this class.- Returns:
- this classes builder class
- Since:
- 0.2.0
-
-