Package com.trimblemaps.mapsdk.util
Class DefaultStyle
java.lang.Object
com.trimblemaps.mapsdk.util.DefaultStyle
- All Implemented Interfaces:
android.os.Parcelable
Default style definition
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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
ConstructorsModifierConstructorDescriptionprotectedDefaultStyle(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 TypeMethodDescriptionintDescribe the kinds of special objects contained in this Parcelable instance's marshaled representation.getName()getUrl()intvoidvoidvoidsetVersion(int version) voidwriteToParcel(android.os.Parcel out, int flags) Flatten this object in to a Parcel.
-
Field Details
-
CREATOR
Inner class responsible for recreating Parcels into objects.
-
-
Constructor Details
-
DefaultStyle
Construct a new Default style definition- Parameters:
url- canonical style urlname- style nameversion- 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
-
getUrl
-
setName
-
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:
describeContentsin interfaceandroid.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:
writeToParcelin interfaceandroid.os.Parcelable- Parameters:
out- The Parcel in which the object should be written.flags- Additional flags about how the object should be written
-