public final class

Tile

extends Object
java.lang.Object
   ↳ com.amazon.geo.mapsv2.model.Tile

Class Overview

Represents a tile returned by a TileProvider. The image is created by calling decodeByteArray(byte[], int, int).

Summary

Fields
public final byte[] data The image for the Tile encoded as a byte array.
public final int height The height in pixels of the image encoded by data.
public final int width The width in pixels of the image encoded by data.
Public Constructors
Tile(int width, int height, byte[] data)
Creates a new Tile object.
Public Methods
int describeContents()
void writeToParcel(Parcel out, int flags)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public final byte[] data

The image for the Tile encoded as a byte array.

public final int height

The height in pixels of the image encoded by data.

public final int width

The width in pixels of the image encoded by data.

Public Constructors

public Tile (int width, int height, byte[] data)

Creates a new Tile object.

Parameters
width The width of the image in pixels.
height The height of the image in pixels.
data The image for the Tile encoded as a byte array. The image is created by calling decodeByteArray(byte[], int, int).

Public Methods

public int describeContents ()

public void writeToParcel (Parcel out, int flags)