HERE Android SDK Developer's Guide

UpViewTransitionParams

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

Class Summary

public final class ARController.UpViewTransitionParams

extends java.lang.Object

Encapsulates parameters which affect the Up view transition.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in UpViewTransitionParams
Methods

public long getMaxAnimationTime ()

Get maximum duration of up view transition animation.

public long getMinAnimationTime ()

Get minimum duration of up view transition animation.

public AnimationInterpolator getPitchInterpolator ()

Get the interpolator for pitch change after crossing threshold of up view.

public UpViewTransitionParams setMaxAnimationTime (long value)

Set the maximum value of up view transition animation duration.

public UpViewTransitionParams setMinAnimationTime (long value)

Set the minimum value of up view transition animation duration.

public UpViewTransitionParams setPitchInterpolator (AnimationInterpolator value)

Set the interpolator for pitch change after crossing threshold of up view.

Class Details

Encapsulates parameters which affect the Up view transition. The Up view transition is the action that occurs when transitioning from the Down view to the Up view.

Method Details

public long getMaxAnimationTime ()

Get maximum duration of up view transition animation.

Returns:

maximum duration of up view transition animation in ms.

public long getMinAnimationTime ()

Get minimum duration of up view transition animation.

Returns:

minimum duration of up view transition animation in ms.

public AnimationInterpolator getPitchInterpolator ()

Get the interpolator for pitch change after crossing threshold of up view.

Returns:

AnimationInterpolator.

public UpViewTransitionParams setMaxAnimationTime (long value)

Set the maximum value of up view transition animation duration.

Parameters:

  • value

    up view transition animation maximum duration in ms

Returns:

The updated UpViewTransitionParams object itself.

public UpViewTransitionParams setMinAnimationTime (long value)

Set the minimum value of up view transition animation duration.

Parameters:

  • value

    up view transition animation minimum duration in ms

Returns:

The updated UpViewTransitionParams object itself.

public UpViewTransitionParams setPitchInterpolator (AnimationInterpolator value)

Set the interpolator for pitch change after crossing threshold of up view.

Parameters:

Returns:

The updated UpViewTransitionParams object itself.