Class OfflineRegionSelector.IntentBuilder
- java.lang.Object
-
- com.mapbox.mapboxsdk.plugins.offline.OfflineRegionSelector.IntentBuilder
-
- Enclosing class:
- OfflineRegionSelector
public static class OfflineRegionSelector.IntentBuilder extends java.lang.ObjectUseful for building anIntentwhich can be used to launch theOfflineActivityallowing your app user to select a region which they'd like to download.- Since:
- 0.1.0
-
-
Constructor Summary
Constructors Constructor Description IntentBuilder()Construct a new instance of this builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description android.content.Intentbuild(android.app.Activity activity)Build a newIntentobject which should be used to launch theOfflineActivity.OfflineRegionSelector.IntentBuilderregionSelectionOptions(RegionSelectionOptions regionSelectionOptions)
-
-
-
Method Detail
-
regionSelectionOptions
public OfflineRegionSelector.IntentBuilder regionSelectionOptions(RegionSelectionOptions regionSelectionOptions)
-
build
public android.content.Intent build(android.app.Activity activity)
Build a newIntentobject which should be used to launch theOfflineActivity.- Parameters:
activity- pass in the current activity which you intend to useActivity.startActivityForResult(Intent, int)in.- Returns:
- a new
Intentwhich should be used to launch theOfflineActivity - Since:
- 0.1.0
-
-