com.sygic.sdk.map.MapAnimation Class Reference
Inheritance diagram for com.sygic.sdk.map.MapAnimation:
Collaboration diagram for com.sygic.sdk.map.MapAnimation:

Classes

interface  InterpolationCurve
 

Public Member Functions

 MapAnimation ()
 
 MapAnimation (final long duration, final int animationCurve)
 
long getDuration ()
 
void setDuration (final long duration)
 
int getAnimationCurve ()
 
void setAnimationCurve (@InterpolationCurve final int animationCurve)
 
String toString ()
 
int describeContents ()
 
void writeToParcel (@NonNull Parcel dest, int flags)
 

Static Public Attributes

static final MapAnimation NONE = new MapAnimation()
 
static final Parcelable.Creator< MapAnimationCREATOR
 

Protected Member Functions

 MapAnimation (Parcel in)
 

Detailed Description

Represents values that describe animation types for on-screen map movements.

Constructor & Destructor Documentation

◆ MapAnimation() [1/3]

com.sygic.sdk.map.MapAnimation.MapAnimation ( )

◆ MapAnimation() [2/3]

com.sygic.sdk.map.MapAnimation.MapAnimation ( final long  duration,
final int  animationCurve 
)

◆ MapAnimation() [3/3]

com.sygic.sdk.map.MapAnimation.MapAnimation ( Parcel  in)
protected

Member Function Documentation

◆ describeContents()

int com.sygic.sdk.map.MapAnimation.describeContents ( )

◆ getAnimationCurve()

int com.sygic.sdk.map.MapAnimation.getAnimationCurve ( )

Returns the animation curve.

◆ getDuration()

long com.sygic.sdk.map.MapAnimation.getDuration ( )

Returns the duration of the animation in ms.

◆ setAnimationCurve()

void com.sygic.sdk.map.MapAnimation.setAnimationCurve ( @InterpolationCurve final int  animationCurve)

Sets the animation curve. See the available InterpolationCurves.

◆ setDuration()

void com.sygic.sdk.map.MapAnimation.setDuration ( final long  duration)

Set the duration of the animation ms.

◆ toString()

String com.sygic.sdk.map.MapAnimation.toString ( )

◆ writeToParcel()

void com.sygic.sdk.map.MapAnimation.writeToParcel ( @NonNull Parcel  dest,
int  flags 
)

Member Data Documentation

◆ CREATOR

final Parcelable.Creator<MapAnimation> com.sygic.sdk.map.MapAnimation.CREATOR
static
Initial value:
= new Parcelable.Creator<MapAnimation>() {
@Override
public MapAnimation createFromParcel(Parcel in) {
return new MapAnimation(in);
}
@Override
public MapAnimation[] newArray(int size) {
return new MapAnimation[size];
}
}

◆ NONE

final MapAnimation com.sygic.sdk.map.MapAnimation.NONE = new MapAnimation()
static

The documentation for this class was generated from the following file:
com.sygic.sdk.map.MapAnimation.MapAnimation
MapAnimation()
Definition: MapAnimation.java:52