-
- All Implemented Interfaces:
-
android.os.Parcelable
public class AGpxRecordingInfo extends AidlParams
State of trip recording: whether a track is being recorded and what it holds so far.
-
-
Field Summary
Fields Modifier and Type Field Description private floatdistanceprivate longdurationprivate intpointsprivate longlastPointTimepublic final static Parcelable.Creator<AGpxRecordingInfo>CREATOR
-
Constructor Summary
Constructors Constructor Description AGpxRecordingInfo(boolean recording, boolean pluginEnabled, float distance, long duration, int points, long lastPointTime)AGpxRecordingInfo(Parcel in)
-
Method Summary
Modifier and Type Method Description floatgetDistance()longgetDuration()intgetPoints()longgetLastPointTime()booleanisRecording()booleanisPluginEnabled()voidwriteToBundle(Bundle bundle)-
Methods inherited from class net.osmand.aidlapi.AidlParams
describeContents, readFromParcel, writeToParcel -
Methods inherited from class android.os.Parcelable
describeContents, writeToParcel -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AGpxRecordingInfo
AGpxRecordingInfo(boolean recording, boolean pluginEnabled, float distance, long duration, int points, long lastPointTime)
-
AGpxRecordingInfo
AGpxRecordingInfo(Parcel in)
-
-
Method Detail
-
getDistance
float getDistance()
-
getDuration
long getDuration()
-
getPoints
int getPoints()
-
getLastPointTime
long getLastPointTime()
-
isRecording
boolean isRecording()
-
isPluginEnabled
boolean isPluginEnabled()
-
writeToBundle
void writeToBundle(Bundle bundle)
-
-
-
-