public class CacheAreaDefinition
extends java.lang.Object
pixelRatio must be ≥ 0 and should typically be 1.0 or 2.0.
if includeIdeographs is false, offline region will not include CJK glyphs
| Modifier and Type | Field and Description |
|---|---|
static Creator |
CREATOR |
| Constructor and Description |
|---|
CacheAreaDefinition(Parcel parcel)
Constructor to create an CacheAreaDefinition from a Parcel.
|
CacheAreaDefinition(java.lang.String styleURL,
LatLngBoundsZoom[] boundsZoomList,
float pixelRatio)
Constructor to create an CacheAreaDefinition from parameters.
|
CacheAreaDefinition(java.lang.String styleURL,
LatLngBoundsZoom[] boundsZoomList,
float pixelRatio,
boolean includeIdeographs)
Constructor to create an CacheAreaDefinition from parameters.
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
getIncludeIdeographs() |
float |
getPixelRatio() |
java.lang.String |
getStyleURL() |
void |
writeToParcel(Parcel dest,
int flags) |
public CacheAreaDefinition(java.lang.String styleURL,
LatLngBoundsZoom[] boundsZoomList,
float pixelRatio)
styleURL - the styleboundsZoomList - the boundsZoomListpixelRatio - pixel ratio of the devicepublic CacheAreaDefinition(java.lang.String styleURL,
LatLngBoundsZoom[] boundsZoomList,
float pixelRatio,
boolean includeIdeographs)
styleURL - the styleboundsZoomList - the boundsZoomListpixelRatio - pixel ratio of the deviceincludeIdeographs - include glyphs for CJK languagespublic CacheAreaDefinition(Parcel parcel)
parcel - the parcel to create the CacheAreaDefinition from