Class RegionSelectionOptions

  • All Implemented Interfaces:
    android.os.Parcelable

    public abstract class RegionSelectionOptions
    extends java.lang.Object
    implements android.os.Parcelable
    Options specific to the Region Selection UI component.
    Since:
    0.2.0
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  RegionSelectionOptions.Builder
      The Builder class in charge of constructing this class and setting the values accordingly.
      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Field Summary

      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      static RegionSelectionOptions.Builder builder()
      Used to build a new instance of this class.
      abstract com.mapbox.mapboxsdk.geometry.LatLngBounds startingBounds()
      Define the map's starting camera position by providing a bounding box
      abstract com.mapbox.mapboxsdk.camera.CameraPosition statingCameraPosition()
      Define the map's starting camera position by providing a camera position.
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface android.os.Parcelable

        describeContents, writeToParcel
    • Constructor Detail

      • RegionSelectionOptions

        public RegionSelectionOptions()
    • 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 OfflineActivity initial 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 OfflineActivity initial 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.Builder instance 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