Class DefaultStyle

java.lang.Object
com.trimblemaps.mapsdk.util.DefaultStyle
All Implemented Interfaces:
android.os.Parcelable

public class DefaultStyle extends Object implements android.os.Parcelable
Default style definition
  • Nested Class Summary

    Nested classes/interfaces inherited from interface android.os.Parcelable

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

    Fields
    Modifier and Type
    Field
    Description
    static final android.os.Parcelable.Creator<DefaultStyle>
    Inner class responsible for recreating Parcels into objects.

    Fields inherited from interface android.os.Parcelable

    CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    DefaultStyle(android.os.Parcel in)
    Constructs a new default style tuple given a parcel.
     
    DefaultStyle(String url, String name, int version)
    Construct a new Default style definition
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.
     
     
    int
     
    void
     
    void
     
    void
    setVersion(int version)
     
    void
    writeToParcel(android.os.Parcel out, int flags)
    Flatten this object in to a Parcel.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CREATOR

      public static final android.os.Parcelable.Creator<DefaultStyle> CREATOR
      Inner class responsible for recreating Parcels into objects.
  • Constructor Details

    • DefaultStyle

      public DefaultStyle(String url, String name, int version)
      Construct a new Default style definition
      Parameters:
      url - canonical style url
      name - style name
      version - style version
    • DefaultStyle

      protected DefaultStyle(android.os.Parcel in)
      Constructs a new default style tuple given a parcel.
      Parameters:
      in - the parcel containing the tile server options values
  • Method Details

    • setUrl

      public void setUrl(String url)
    • getUrl

      public String getUrl()
    • setName

      public void setName(String name)
    • getName

      public String getName()
    • setVersion

      public void setVersion(int version)
    • getVersion

      public int getVersion()
    • describeContents

      public int describeContents()
      Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.
      Specified by:
      describeContents in interface android.os.Parcelable
      Returns:
      a bitmask indicating the set of special object types marshaled by this Parcelable object instance.
    • writeToParcel

      public void writeToParcel(@NonNull android.os.Parcel out, int flags)
      Flatten this object in to a Parcel.
      Specified by:
      writeToParcel in interface android.os.Parcelable
      Parameters:
      out - The Parcel in which the object should be written.
      flags - Additional flags about how the object should be written