HERE Android SDK Developer's Guide

InfoParams

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

Class Summary

public final class ARController.InfoParams

extends java.lang.Object

Encapsulates parameters which affect the info of an ARObject.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in InfoParams
Methods

public float getAnimationMinWidthFactor ()

Get info's animation minimum width factor.

public long getCloseAnimationDelay ()

Get delay of Info's close animation.

public long getCloseAnimationTime ()

Get duration of Info's close animation.

public AnimationInterpolator getCloseInterpolator ()

Get the interpolator for info icon close animation.

public long getOpenAnimationDelay ()

Get delay of Info's open animation.

public long getOpenAnimationTime ()

Get duration of Info's open animation.

public AnimationInterpolator getOpenInterpolator ()

Get the interpolator for info icon open animation.

public InfoParams setAnimationMinWidthFactor (float value)

Set info's minimum width factor during animation.

public InfoParams setCloseAnimationDelay (long value)

Set Info's close animation delay.

public InfoParams setCloseAnimationTime (long value)

Set Info's close animation duration.

public InfoParams setCloseInterpolator (AnimationInterpolator value)

Set the interpolator for info close animation.

public InfoParams setOpenAnimationDelay (long value)

Set Info's open animation delay.

public InfoParams setOpenAnimationTime (long value)

Set Info's open animation duration.

public InfoParams setOpenInterpolator (AnimationInterpolator value)

Set the interpolator for info open animation.

Class Details

Encapsulates parameters which affect the info of an ARObject.

Method Details

public float getAnimationMinWidthFactor ()

Get info's animation minimum width factor.

Returns:

info animation's minimum width factor.

public long getCloseAnimationDelay ()

Get delay of Info's close animation.

Returns:

delay of Info's close animation in ms.

public long getCloseAnimationTime ()

Get duration of Info's close animation.

Returns:

duration of Info's close animation in ms.

public AnimationInterpolator getCloseInterpolator ()

Get the interpolator for info icon close animation.

Returns:

AnimationInterpolator.

public long getOpenAnimationDelay ()

Get delay of Info's open animation.

Returns:

delay of open animation in ms.

public long getOpenAnimationTime ()

Get duration of Info's open animation.

Returns:

duration of Info's open animation in ms.

public AnimationInterpolator getOpenInterpolator ()

Get the interpolator for info icon open animation.

Returns:

AnimationInterpolator.

public InfoParams setAnimationMinWidthFactor (float value)

Set info's minimum width factor during animation.

Parameters:

  • value

    minimum width factor.

Returns:

The updated InfoParams object itself.

public InfoParams setCloseAnimationDelay (long value)

Set Info's close animation delay.

Parameters:

  • value

    pop-up animation delay in ms.

Returns:

The updated InfoParams object itself.

public InfoParams setCloseAnimationTime (long value)

Set Info's close animation duration.

Parameters:

  • value

    pop-up animation duration in ms.

Returns:

The updated InfoParams object itself.

public InfoParams setCloseInterpolator (AnimationInterpolator value)

Set the interpolator for info close animation.

Parameters:

Returns:

The updated InfoParams object itself.

public InfoParams setOpenAnimationDelay (long value)

Set Info's open animation delay.

Parameters:

  • value

    pop-up animation delay in ms.

Returns:

The updated InfoParams object itself.

public InfoParams setOpenAnimationTime (long value)

Set Info's open animation duration.

Parameters:

  • value

    pop-up animation duration in ms.

Returns:

The updated InfoParams object itself.

public InfoParams setOpenInterpolator (AnimationInterpolator value)

Set the interpolator for info open animation.

Parameters:

Returns:

The updated InfoParams object itself.