目录

MapNaviCross

Class Info

public class MapNaviCross

Model of the NavInfo enlarged intersection view.

Public Constructor Summary

Constructor Name

MapNaviCross()

Parameterless constructor for creating a MapNaviCross instance.

MapNaviCross(MapNaviCross cross)

Creates a MapNaviCross instance based on the model object.

Public Field Summary

Qualifier and Type

Field and Description

Value

public static final int

CROSSING_NOT_DOWNLOADED

Not downloaded.

0

public static final int

CROSSING_DOWNLOADING

Downloading.

1

public static final int

CROSSING_DOWNLOAD_SUCCESS

Download successful.

2

public static final int

CROSSING_DOWNLOAD_FAIL

Download failed.

3

public static final int

CROSSING_SHOWED

Large image showed.

4

public static final int

CROSSING_CLOSED

Large image closed.

5

Public Method Summary

Qualifier and Type

Method Name and Description

String

getArrowNo()

Obtains the arrow ID on the enlarged map.

Bitmap

getGraphic()

Obtains the image bitmap.

String

getPatternNo()

Obtains the pattern ID on the enlarged map.

int

getStatus()

Obtains the download status of the enlarged map.

int

getType()

Obtains the type of the enlarged map.

void

recycleGraphic()

Releases the enlarged bitmap image.

Public Constructors

[h2]MapNaviCross

Constructor

public MapNaviCross()

Parameterless constructor for creating a MapNaviCross instance.

[h2]MapNaviCross(MapNaviCross cross)

Constructor

public MapNaviCross(MapNaviCross cross)

Creates a MapNaviCross instance based on the model object.

Parameters

Name

Description

cross

Model of the NavInfo enlarged intersection view.

Public Fields

[h2]CROSSING_NOT_DOWNLOADED

Fields

public static final int CROSSING_NOT_DOWNLOADED

Not downloaded.

CROSSING_NOT_DOWNLOADED: 0

For other constant values, please refer to Constant-values.

[h2]CROSSING_DOWNLOADING

Fields

public static final int CROSSING_DOWNLOADING

Downloading.

CROSSING_DOWNLOADING: 1

For other constant values, please refer to Constant-values.

[h2]CROSSING_DOWNLOAD_SUCCESS

Fields

public static final int CROSSING_DOWNLOAD_SUCCESS

Download successful.

CROSSING_DOWNLOAD_SUCCESS: 2

For other constant values, please refer to Constant-values.

[h2]CROSSING_DOWNLOAD_FAIL

Fields

public static final int CROSSING_DOWNLOAD_FAIL

Download failed.

CROSSING_DOWNLOAD_FAIL: 3

For other constant values, please refer to Constant-values.

[h2]CROSSING_SHOWED

Fields

public static final int CROSSING_SHOWED

Large image showed.

CROSSING_SHOWED: 4

For other constant values, please refer to Constant-values.

[h2]CROSSING_CLOSED

Fields

public static final int CROSSING_CLOSED

Large image closed.

CROSSING_CLOSED: 5

For other constant values, please refer to Constant-values.

Public Methods

[h2]getArrowNo

Method

public String getArrowNo()

Obtains the arrow ID on the enlarged map.

Returns

Type

Description

String

Arrow ID on the enlarged map.

[h2]getGraphic

Method

public Bitmap getGraphic()

Obtains the image bitmap.

Returns

Type

Description

Bitmap

Bitmap image. You are advised to manually release the image by following instructions in recycleGraphic.

[h2]getPatternNo

Method

public String getPatternNo()

Obtains the pattern ID on the enlarged map.

Returns

Type

Description

String

Pattern ID on the enlarged map.

[h2]getStatus

Method

public int getStatus()

Obtains the download status of the enlarged map.

Returns

Type

Description

int

Download status of the enlarged map. For details, please refer to the Public Field Summary.

[h2]getType

Method

public int getType()

Obtains the type of the enlarged map.

Returns

Type

Description

int

Type of the enlarged map.

[h2]recycleGraphic

Method

public void recycleGraphic()

Releases the enlarged bitmap image.