Class LegacyGeocacheCompat.GeocacheDeviceDataCompat_v1
java.lang.Object
com.dsi.ant.plugins.internal.compatibility.LegacyGeocacheCompat.GeocacheDeviceDataCompat_v1
- Enclosing class:
- LegacyGeocacheCompat
Provides compatibility for the geocache data IPc in plugins 1.0 release
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Defines the keys used to bundle and unbundle theAntPlusGeocachePcc.GeocacheDeviceData
before it was a parcelable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadGddFromBundleCompat_v1
(android.os.Bundle b) Creates an instance from the data saved in a bundle written bywriteGddToBundleCompat_v1(GeocacheDeviceData, Bundle)
.readPgddFromBundle
(android.os.Bundle b) Creates an instance from the data saved in a bundle written bywritePgddToBundle(ProgrammableGeocacheDeviceData, Bundle)
.static void
writeGddToBundleCompat_v1
(AntPlusGeocachePcc.GeocacheDeviceData d, android.os.Bundle b) Writes all the data in this object out to a bundle in a format that can be read byreadGddFromBundleCompat_v1(Bundle)
.static void
writePgddToBundle
(AntPlusGeocachePcc.ProgrammableGeocacheDeviceData p, android.os.Bundle b) Writes all the data in this object out to a bundle in a format that can be read byreadPgddFromBundle(Bundle)
.
-
Constructor Details
-
GeocacheDeviceDataCompat_v1
public GeocacheDeviceDataCompat_v1()
-
-
Method Details
-
readGddFromBundleCompat_v1
Creates an instance from the data saved in a bundle written bywriteGddToBundleCompat_v1(GeocacheDeviceData, Bundle)
.- Parameters:
b
- The bundle that contains the data.- Returns:
- A new
AntPlusGeocachePcc.GeocacheDeviceData
object containing all the data from the bundle
-
writeGddToBundleCompat_v1
public static void writeGddToBundleCompat_v1(AntPlusGeocachePcc.GeocacheDeviceData d, android.os.Bundle b) Writes all the data in this object out to a bundle in a format that can be read byreadGddFromBundleCompat_v1(Bundle)
.- Parameters:
d
- The geocacheDeviceData to writeb
- The bundle to write the data to.
-
readPgddFromBundle
public static AntPlusGeocachePcc.ProgrammableGeocacheDeviceData readPgddFromBundle(android.os.Bundle b) Creates an instance from the data saved in a bundle written bywritePgddToBundle(ProgrammableGeocacheDeviceData, Bundle)
.- Parameters:
b
- The bundle that contains the data.- Returns:
- A new
AntPlusGeocachePcc.ProgrammableGeocacheDeviceData
object containing all the data from the bundle
-
writePgddToBundle
public static void writePgddToBundle(AntPlusGeocachePcc.ProgrammableGeocacheDeviceData p, android.os.Bundle b) Writes all the data in this object out to a bundle in a format that can be read byreadPgddFromBundle(Bundle)
.- Parameters:
p
- The ProgrammableGeocacheDeviceData object to writeb
- The bundle to write the data to.
-