目录

Intersection

Class Info

public class Intersection

Intersection information class.

Public Method Summary

Qualifier and Type

Method Name and Description

NaviLatLng

getCenterPoint()

Obtains the maneuver point or strong forward point.

Bitmap

getLaneDayBitmap()

Obtains the lane line image in day mode.

Bitmap

getLaneNightBitmap()

Obtains the lane line image in night mode.

List<NaviSegment<NaviLatLng>>

getNaviSegments()

Obtains the lane information.

int

getShowMode()

Obtains the show mode.

boolean

isLeft()

Checks whether a vehicle drives to the left.

void

recycleLaneBitmap()

Release the lane line image resource for the current intersection.

String

toString()

Converts data into a character string.

Public Methods

[h2]getCenterPoint

Method

public NaviLatLng getCenterPoint()

Obtains the maneuver point or strong forward point.

Returns

Type

Description

NaviLatLng

Maneuver point or strong forward point.

[h2]getLaneDayBitmap

Method

public Bitmap getLaneDayBitmap()

Obtains the lane line image in day mode.

Returns

Type

Description

Bitmap

Lane line image in day mode. You are advised to manually release the image after use by following instructions in recycleLaneBitMap.

[h2]getLaneNightBitmap

Method

public Bitmap getLaneNightBitmap()

Obtains the lane line image in night mode.

Returns

Type

Description

Bitmap

Lane line image in night mode. You are advised to manually release the image after use by following instructions in recycleLaneBitMap.

[h2]getNaviSegments

Method

public List<NaviSegment<NaviLatLng>> getNaviSegments()

Obtains the lane information.

Returns

Type

Description

List<NaviSegment<NaviLatLng>>

Lane information.

[h2]getShowMode

Method

public int getShowMode()

Obtains the show mode.

Returns

Type

Description

int

Show mode.

  • 0: small image
  • 1: large image

[h2]isLeft

Method

public boolean isLeft()

Checks whether a vehicle drives to the left.

Returns

Type

Description

boolean

Whether a vehicle drives to the left.

  • true: yes
  • false: no

[h2]recycleLaneBitmap

Method

public void recycleLaneBitMap()

Release the lane line image resource for the current intersection.

[h2]toString

Method

public String toString()

Converts data into a character string.

Returns

Type

Description

String

Character string.