HERE Android SDK Developer's Guide

IntroAnimationParams

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

Class Summary

public final class ARController.IntroAnimationParams

extends java.lang.Object

Encapsulates parameters which affect the Intro Animation.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in IntroAnimationParams
Methods

public long getAnimationTime ()

Get duration of intro transition animation.

public AnimationInterpolator getCenterInterpolator ()

Get the interpolator for intro(LiveSight entry) first person's location animation.

public AnimationInterpolator getHeadingInterpolator ()

Get the interpolator for intro(LiveSight entry) heading animation.

public IntroAnimationMode getIntroAnimationMode ()

Get intro animation mode.

public AnimationInterpolator getPitchInterpolator ()

Get the interpolator for intro(LiveSight entry) pitch animation.

public AnimationInterpolator getPositionInterpolator ()

Get the interpolator for intro(LiveSight entry) position change animation.

public AnimationInterpolator getZoomInterpolator ()

Get the interpolator for intro(LiveSight entry) zoom animation.

public IntroAnimationParams setAnimationTime (long value)

Set the value of intro transition animation duration.

public IntroAnimationParams setCenterInterpolator (AnimationInterpolator value)

Set the interpolator for intro(LiveSight entry) first person's location animation.

public IntroAnimationParams setHeadingInterpolator (AnimationInterpolator value)

Set the interpolator for intro(LiveSight entry) heading animation.

public IntroAnimationParams setIntroAnimationMode (IntroAnimationMode mode)

Set intro animation mode.

public IntroAnimationParams setPitchInterpolator (AnimationInterpolator value)

Set the interpolator for intro(LiveSight entry) pitch animation.

public IntroAnimationParams setPositionInterpolator (AnimationInterpolator value)

Set the interpolator for intro(LiveSight entry) position change animation.

public IntroAnimationParams setZoomInterpolator (AnimationInterpolator value)

Set the interpolator for intro(LiveSight entry) zoom animation.

Class Details

Encapsulates parameters which affect the Intro Animation. The Intro Animation refers to the animation that is performed right after calling start().

Method Details

public long getAnimationTime ()

Get duration of intro transition animation.

Returns:

duration of intro transition animation in ms.

public AnimationInterpolator getCenterInterpolator ()

Get the interpolator for intro(LiveSight entry) first person's location animation.

Returns:

AnimationInterpolator.

public AnimationInterpolator getHeadingInterpolator ()

Get the interpolator for intro(LiveSight entry) heading animation.

Returns:

AnimationInterpolator.

public IntroAnimationMode getIntroAnimationMode ()

Get intro animation mode.

Returns:

ARController.IntroAnimationMode.

public AnimationInterpolator getPitchInterpolator ()

Get the interpolator for intro(LiveSight entry) pitch animation.

Returns:

AnimationInterpolator.

public AnimationInterpolator getPositionInterpolator ()

Get the interpolator for intro(LiveSight entry) position change animation.

Returns:

AnimationInterpolator.

public AnimationInterpolator getZoomInterpolator ()

Get the interpolator for intro(LiveSight entry) zoom animation.

Returns:

AnimationInterpolator.

public IntroAnimationParams setAnimationTime (long value)

Set the value of intro transition animation duration.

Parameters:

  • value

    intro transition animation duration in ms

Returns:

The updated IntroAnimationParams object itself.

public IntroAnimationParams setCenterInterpolator (AnimationInterpolator value)

Set the interpolator for intro(LiveSight entry) first person's location animation.

Parameters:

Returns:

The updated IntroAnimationParams object itself.

public IntroAnimationParams setHeadingInterpolator (AnimationInterpolator value)

Set the interpolator for intro(LiveSight entry) heading animation.

Parameters:

Returns:

The updated IntroAnimationParams object itself.

public IntroAnimationParams setIntroAnimationMode (IntroAnimationMode mode)

Set intro animation mode.

Parameters:

Returns:

The updated IntroAnimationParams object itself.

public IntroAnimationParams setPitchInterpolator (AnimationInterpolator value)

Set the interpolator for intro(LiveSight entry) pitch animation.

Parameters:

Returns:

The updated IntroAnimationParams object itself.

public IntroAnimationParams setPositionInterpolator (AnimationInterpolator value)

Set the interpolator for intro(LiveSight entry) position change animation.

Parameters:

Returns:

The updated IntroAnimationParams object itself.

public IntroAnimationParams setZoomInterpolator (AnimationInterpolator value)

Set the interpolator for intro(LiveSight entry) zoom animation.

Parameters:

Returns:

The updated IntroAnimationParams object itself.