HERE Android SDK Developer's Guide

ARIconObject

The class ARIconObject is a member of com.here.android.mpa.ar .

Class Summary

public final class ARIconObject

extends com.here.android.mpa.ar.ARObject, java.lang.Object

Concrete ARObject which represents the LiveSight object model.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in ARIconObject
Constructors

ARIconObject (GeoCoordinate coordinate, Bitmap info)

Construct the object using specified Image

ARIconObject (GeoCoordinate coordinate, Bitmap info, Image icon)

Construct the object using specified Image

ARIconObject (GeoCoordinate coordinate, Bitmap info, int iconResourceId)

Construct the object using provided image resource id.

ARIconObject (GeoCoordinate coordinate, Bitmap info, Image frontIcon, Image downIcon, Image backIcon)

Construct the object using specified FRONT, DOWN and BACK Images

ARIconObject (GeoCoordinate coordinate, Bitmap info, int frontIconResourceId, int downIconResourceId, int backIconResourceId)

Construct the object using provided image resource ids for FRONT, DOWN and BACK icons.

ARIconObject (GeoCoordinate coordinate, Bitmap info, String frontIconUrl, String downIconUrl, String backIconUrl)

Construct the object using FRONT, DOWN and BACK icons URLs.

ARIconObject (GeoCoordinate coordinate, View info)

Construct the object using specified Image

ARIconObject (GeoCoordinate coordinate, View info, Image icon)

Construct the object using specified Image

ARIconObject (GeoCoordinate coordinate, View info, int iconResourceId)

Construct the object using provided image resource id.

ARIconObject (GeoCoordinate coordinate, View info, Image frontIcon, Image downIcon, Image backIcon)

Construct the object using specified FRONT, DOWN and BACK images Image

ARIconObject (GeoCoordinate coordinate, View info, int frontIconResourceId, int downIconResourceId, int backIconResourceId)

Construct the object using provided image resource ids for FRONT, DOWN and BACK icons.

ARIconObject (GeoCoordinate coordinate, View info, String frontIconUrl, String downIconUrl, String backIconUrl)

Construct the object using FRONT, DOWN and BACK icon URLs.

Class Details

Concrete ARObject which represents the LiveSight object model. Composed of FRONT, DOWN and BACK icons, an info icon and a GeoCoordinate representing the objects position.

Constructor Details

ARIconObject (GeoCoordinate coordinate, Bitmap info)

Construct the object using specified Image

Parameters:

  • coordinate

    A GeoCoordinate representing coordinates of the AR icon

  • info

    A android.graphics.Bitmap of info in AR view

ARIconObject (GeoCoordinate coordinate, Bitmap info, Image icon)

Construct the object using specified Image

Parameters:

  • coordinate

    A GeoCoordinate representing coordinates of the AR icon

  • info

    A android.graphics.Bitmap of info in AR view

  • icon

    Image representing image to be used for FRONT, DOWN and BACK icons

ARIconObject (GeoCoordinate coordinate, Bitmap info, int iconResourceId)

Construct the object using provided image resource id. Falls back to default images if resource id is invalid.

Parameters:

  • coordinate

    A GeoCoordinate representing coordinates of the AR icon

  • info

    A android.graphics.Bitmap of info in AR view

  • iconResourceId

    Representing image resource id to be used for FRONT, DOWN and BACK icons

ARIconObject (GeoCoordinate coordinate, Bitmap info, Image frontIcon, Image downIcon, Image backIcon)

Construct the object using specified FRONT, DOWN and BACK Images

Parameters:

  • coordinate

    A GeoCoordinate representing coordinates of the AR icon

  • info

    A android.graphics.Bitmap of info in AR view

  • frontIcon

    Image representing image to be used for both FRONT icon

  • downIcon

    Image representing image to be used for both DOWN icon

  • backIcon

    Image representing image to be used for both BACK icon

ARIconObject (GeoCoordinate coordinate, Bitmap info, int frontIconResourceId, int downIconResourceId, int backIconResourceId)

Construct the object using provided image resource ids for FRONT, DOWN and BACK icons. Falls back to default images if either of the icons resources are not valid.

Parameters:

  • coordinate

    A GeoCoordinate representing coordinates of the AR icon

  • info

    A android.graphics.Bitmap of info in AR view

  • frontIconResourceId

    Representing FRONT image resource id to be used for FRONT icon

  • downIconResourceId

    Representing DOWN image resource id to be used for DOWN icon

  • backIconResourceId

    Representing BACK image resource id to be used for BACK icon

ARIconObject (GeoCoordinate coordinate, Bitmap info, String frontIconUrl, String downIconUrl, String backIconUrl)

Construct the object using FRONT, DOWN and BACK icons URLs. If either of the URLs are invalid default icons will be used.

Parameters:

  • coordinate

    A GeoCoordinate representing coordinates of the AR icon

  • info

    A android.graphics.Bitmap of info in AR view

  • frontIconUrl

    java.lang.String representing URL of the FRONT icon

  • downIconUrl

    java.lang.String representing URL of the DOWN icon

  • backIconUrl

    java.lang.String representing URL of the BACK icon

ARIconObject (GeoCoordinate coordinate, View info)

Construct the object using specified Image

Parameters:

  • coordinate

    A GeoCoordinate representing coordinates of the AR icon

  • info

    A UI android.view.View of info in AR view

ARIconObject (GeoCoordinate coordinate, View info, Image icon)

Construct the object using specified Image

Parameters:

  • coordinate

    A GeoCoordinate representing coordinates of the AR icon

  • info

    A UI android.view.View of info in AR view

  • icon

    Image representing image to be used for FRONT, DOWN and BACK icons

ARIconObject (GeoCoordinate coordinate, View info, int iconResourceId)

Construct the object using provided image resource id. Falls back to default images if resource id is invalid.

Parameters:

  • coordinate

    A GeoCoordinate representing coordinates of the AR icon

  • info

    A UI android.view.View of info in AR view

  • iconResourceId

    Representing image resource id to be used for FRONT, DOWN and BACK icons

ARIconObject (GeoCoordinate coordinate, View info, Image frontIcon, Image downIcon, Image backIcon)

Construct the object using specified FRONT, DOWN and BACK images Image

Parameters:

  • coordinate

    A GeoCoordinate representing coordinates of the AR icon

  • info

    A UI android.view.View of info in AR view

  • frontIcon

    Image representing image to be used for both FRONT icon

  • downIcon

    Image representing image to be used for both DOWN icon

  • backIcon

    Image representing image to be used for both BACK icon

ARIconObject (GeoCoordinate coordinate, View info, int frontIconResourceId, int downIconResourceId, int backIconResourceId)

Construct the object using provided image resource ids for FRONT, DOWN and BACK icons. Falls back to default images if either of the icons resources are not valid.

Parameters:

  • coordinate

    A GeoCoordinate representing coordinates of the AR icon

  • info

    A UI android.view.View of info in AR view

  • frontIconResourceId

    Representing FRONT image resource id to be used for FRONT icon

  • downIconResourceId

    Representing DOWN image resource id to be used for DOWN icon

  • backIconResourceId

    Representing DOWN image resource id to be used for BACK icon

ARIconObject (GeoCoordinate coordinate, View info, String frontIconUrl, String downIconUrl, String backIconUrl)

Construct the object using FRONT, DOWN and BACK icon URLs. If either of the URLs are invalid default icons will be used.

Parameters:

  • coordinate

    A GeoCoordinate representing coordinates of the AR icon

  • info

    A UI android.view.View of info in AR view

  • frontIconUrl

    java.lang.String representing URL of the FRONT icon

  • downIconUrl

    java.lang.String representing URL of the DOWN icon

  • backIconUrl

    java.lang.String representing URL of the BACK icon

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.