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

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

Member Function Documentation

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

Returns the animation curve.

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

Returns the duration of the animation in ms.

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

Sets the animation curve. See the available InterpolationCurves.

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

Set the duration of the animation ms.

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

Member Data Documentation

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];
}
}
final MapAnimation com.sygic.sdk.map.MapAnimation.NONE = new MapAnimation()
static

The documentation for this class was generated from the following file: