Navigation SDK is currently available only to select customers. Contact sales to learn more.
New map styling is coming soon to Google Maps Platform. This update to map styling includes a new default color palette and improvements to map experiences and usability. All map styles will be automatically updated in March 2025. For more information on availability and how to opt in earlier, see New map style for Google Maps Platform.
Note that the external cache is only meant for base map vector tiles, so the API
implementation hardcodes the tile type. If this needs to be generalized, update this class to
return both the tile type and tile data.
TileDescriptor(byte[] tileData, int protoVersion, byte attributes, int dataVersion, int perTileEpoch)
Constructs a TileDescriptor that will be used by the API to support an external cache.
Inherited Method Summary
From class
com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable
final
int
describeContents()
From class
java.lang.Object
boolean
equals(Object arg0)
final
Class<?>
getClass()
int
hashCode()
final
void
notify()
final
void
notifyAll()
String
toString()
final
void
wait(long arg0, int arg1)
final
void
wait(long arg0)
final
void
wait()
From interface
android.os.Parcelable
abstract
int
describeContents()
abstract
void
writeToParcel(Parcel arg0, int arg1)
Constants
public
static
final
int
NO_DATA_VERSION
Constant Value:
-1
public
static
final
int
NO_PER_TILE_EPOCH
Constant Value:
-1
Fields
public
final
byte
attributes
public
final
int
dataVersion
public
final
int
perTileEpoch
public
final
int
protoVersion
public
final
byte[]
tileData
Public Constructors
public
TileDescriptor(byte[] tileData, int protoVersion, byte attributes, int dataVersion, int perTileEpoch)
Constructs a TileDescriptor that will be used by the API to support an external cache.
See ExternalCache for details on how the various fields are used.