HERE Android SDK Developer's Guide

OnPitchFunction

The interface OnPitchFunction is a member of com.here.android.mpa.ar.ARController.

Interface Summary

public static abstract interface ARController.OnPitchFunction

Pitch function interface.

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in OnPitchFunction
Methods

public abstract float onPitchFunction (float pitch)

Function applied to the current pitch

Interface Details

Pitch function interface.

It gives ability to apply a function to the current device's pitch/tilt value to change the resulting pitch curve.

Special consideration should be used when setAutoPitchEnabled(boolean, boolean) API is called. This method uses the current Map's value, which *may* be altered by the pitch function, thus effecting the animation.

Method Details

public abstract float onPitchFunction (float pitch)

Function applied to the current pitch

Parameters:

  • pitch

    An argument to the function of pitch representing default pitch value

Returns:

Result of client pitch function, a custom pitch value for LiveSight to use.

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.