Package com.skyhookwireless.wps
Interface IXPS
-
- All Known Implementing Classes:
XPS
public interface IXPS
-
-
Field Summary
Fields Modifier and Type Field Description static intBLOCK_ACCURACYstatic intCITY_ACCURACYstatic intEXACT_ACCURACY
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidgetXPSLocation(WPSAuthentication authentication, int period, int desiredAccuracy, WPSPeriodicLocationCallback callback)
-
-
-
Field Detail
-
CITY_ACCURACY
static final int CITY_ACCURACY
- See Also:
- Constant Field Values
-
BLOCK_ACCURACY
static final int BLOCK_ACCURACY
- See Also:
- Constant Field Values
-
EXACT_ACCURACY
static final int EXACT_ACCURACY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getXPSLocation
@Deprecated void getXPSLocation(WPSAuthentication authentication, int period, int desiredAccuracy, WPSPeriodicLocationCallback callback)
Deprecated.Requests periodic geographic location.- Parameters:
authentication- must benullfor new applications that useIWPS.setKey(java.lang.String)orIWPS.setAuthentication(java.lang.String, java.lang.String), otherwise set to the user's authentication information.period- maximum time in seconds between location reports.
XPS will invoke the callback at least every period, either with a location update or with an error if no location can be determined. XPS may report location updates more often than the specified period if a new or better location becomes available within a given period.
This parameter is also used to specify the preferred Wi-Fi scan period, which XPS may override for optimal performance and power savings.desiredAccuracy- the desired location accuracy in meters. SeeXPS.BLOCK_ACCURACYet al for examples.callback- aWPSPeriodicLocationCallback
-
-