|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface IgnitedLocationActivity
Optional Element Summary | |
---|---|
boolean |
enablePassiveUpdates
Determines whether passive location updates should be enabled or not. |
int |
locationUpdatesDistanceDiff
Determines the minimum difference (in meters) between two location updates. |
long |
locationUpdatesInterval
Determines the minimum interval (in milliseconds) between two location updates. |
int |
minBatteryLevelForGps
Determines the minimum battery level to enable location updates using GPS. |
int |
passiveLocationUpdatesDistanceDiff
Determines the minimum difference (in meters) between two location updates. |
long |
passiveLocationUpdatesInterval
Determines the minimum interval (in milliseconds) between two location updates. |
boolean |
requestLocationUpdates
Determines whether location updates should be requested or not. |
boolean |
showWaitForLocationDialog
Determines whether the activity should display a "wait for location" dialog while the location manager is trying to get a location. |
boolean |
useGps
Determines whether to use GPS when requesting location updates or not. |
long |
waitForGpsFixInterval
Determines the interval (in milliseconds) to wait for a GPS fix. |
public abstract boolean useGps
IgnitedLocationConstants.USE_GPS_DEFAULT
).
public abstract boolean requestLocationUpdates
IgnitedLocationConstants.REQUEST_LOCATION_UPDATES_DEFAULT
).
public abstract int locationUpdatesDistanceDiff
IgnitedLocationConstants.LOCATION_UPDATES_DISTANCE_DIFF_DEFAULT
).
public abstract long locationUpdatesInterval
IgnitedLocationConstants.LOCATION_UPDATES_INTERVAL_DEFAULT
).
public abstract int passiveLocationUpdatesDistanceDiff
IgnitedLocationConstants.PASSIVE_LOCATION_UPDATES_DISTANCE_DIFF_DEFAULT
).
public abstract long passiveLocationUpdatesInterval
IgnitedLocationConstants.PASSIVE_LOCATION_UPDATES_INTERVAL_DEFAULT
).
public abstract boolean enablePassiveUpdates
IgnitedLocationConstants.ENABLE_PASSIVE_LOCATION_UPDATES_DEFAULT
).
public abstract long waitForGpsFixInterval
IgnitedLocationConstants.WAIT_FOR_GPS_FIX_INTERVAL_DEFAULT
).
public abstract int minBatteryLevelForGps
IgnitedLocationConstants.MIN_BATTERY_LEVEL_DEFAULT
).
public abstract boolean showWaitForLocationDialog
IgnitedLocationConstants.SHOW_WAIT_FOR_LOCATION_DIALOG_DEFAULT
).
NB: if this is true, the Activity MUST create a dialog in
Activity.onCreateDialog(int, android.os.Bundle)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |