Class LatLong

  • All Implemented Interfaces:
    android.os.Parcelable

    public class LatLong
    extends java.lang.Object
    implements android.os.Parcelable
    Global location in degrees (WGS-84)
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static android.os.Parcelable.Creator<LatLong> CREATOR
      Used for sending data across binders
      double Latitude
      North-South Measurement in degrees
      double Longitude
      East-West Measurement in degrees
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Constructor Summary

      Constructors 
      Constructor Description
      LatLong​(double latitude, double longitude)  
    • Field Detail

      • Latitude

        public final double Latitude
        North-South Measurement in degrees
      • Longitude

        public final double Longitude
        East-West Measurement in degrees
      • CREATOR

        public static final android.os.Parcelable.Creator<LatLong> CREATOR
        Used for sending data across binders
    • Constructor Detail

      • LatLong

        public LatLong​(double latitude,
                       double longitude)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • describeContents

        public int describeContents()
        Specified by:
        describeContents in interface android.os.Parcelable
      • writeToParcel

        public void writeToParcel​(android.os.Parcel dest,
                                  int flags)
        Specified by:
        writeToParcel in interface android.os.Parcelable