This class is deprecated.
ExternalCache
and TileDescriptor
will be
removed in a future NavSDK release.
Tile descriptor for use with ExternalCache
.
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.
Constant Summary
int | NO_DATA_VERSION | |
int | NO_PER_TILE_EPOCH |
Inherited Constant Summary
Field Summary
public final byte | attributes | |
public final int | dataVersion | |
public final int | perTileEpoch | |
public final int | protoVersion | |
public final byte[] | tileData |
Public Constructor Summary
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
Constants
public static final int NO_DATA_VERSION
public static final int NO_PER_TILE_EPOCH
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.
Parameters
tileData | |
---|---|
protoVersion | |
attributes | |
dataVersion | |
perTileEpoch |