目录

CLASS info
public final class Location implements Parcelable
Geofence information.

Field Summary

TypeNameDesc
public static final Creator<Location> CREATORCREATOR

Instantiates the static object to implement

Parcelable.Creator.

Public Constructor Summary

Constructor name

public Location(String longitude, String latitude) 

Instantiates Location by using the parameterized constructor.

Public Method Summary

Return typeMethod name
String

getLongitude()

Obtains the longitude.

String

getLatitude() 

Obtains the latitude.

Public Method

Method
public String getLongitude()
Obtains the longitude.

Return

Typedesc
StringLongitude.
Method
public String getLatitude()
Obtains the latitude.

Return

Typedesc
StringLatitude.