Class MapPolylineAnimation
Package com.here.sdk.animation
Class MapPolylineAnimation
- java.lang.Object
-
- com.here.NativeBase
-
- com.here.sdk.animation.MapPolylineAnimation
-
public final class MapPolylineAnimation extends NativeBase
An animation that can be applied to the
MapPolylineobject.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMapPolylineAnimation.InstantiationErrorCodeDescribes a reason for failing to create aMapPolylineAnimation.static classMapPolylineAnimation.InstantiationExceptionThrown when a problem occurs while trying to create aMapPolylineAnimation.
-
Constructor Summary
Constructors Constructor Description MapPolylineAnimation(MapItemKeyFrameTrack track)Creates an animation ofMapPolylinebased on provided keyframe track.
-
-
-
Constructor Detail
-
MapPolylineAnimation
public MapPolylineAnimation(@NonNull MapItemKeyFrameTrack track) throws MapPolylineAnimation.InstantiationExceptionCreates an animation of
MapPolylinebased on provided keyframe track. Supports tracks created withMapItemKeyFrameTrack'polylineProgress*' methods. For starting the animation, seeMapPolyline.startAnimation(com.here.sdk.animation.MapPolylineAnimation, com.here.sdk.animation.AnimationListener).- Parameters:
track-The track holding the keyframes for the animation.
- Throws:
MapPolylineAnimation.InstantiationException-If the specified keyframe track cannot be used to create animation of a
MapPolyline.
-
-