Class Overview
(c) 2010 Nicolas Gramlich
(c) 2011 Zynga Inc.
Summary
|
[Expand]
Inherited Constants |
From class
android.location.Criteria
| int |
ACCURACY_COARSE |
|
| int |
ACCURACY_FINE |
|
| int |
ACCURACY_HIGH |
|
| int |
ACCURACY_LOW |
|
| int |
ACCURACY_MEDIUM |
|
| int |
NO_REQUIREMENT |
|
| int |
POWER_HIGH |
|
| int |
POWER_LOW |
|
| int |
POWER_MEDIUM |
|
|
From interface
android.os.Parcelable
| int |
CONTENTS_FILE_DESCRIPTOR |
|
| int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
|
[Expand]
Inherited Fields |
From class
android.location.Criteria
|
| Public Constructors |
|
|
LocationSensorOptions()
|
|
|
LocationSensorOptions(int pAccuracy, boolean pAltitudeRequired, boolean pBearingRequired, boolean pCostAllowed, int pPowerRequirement, boolean pSpeedRequired, boolean pEnabledOnly, long pMinimumTriggerTime, long pMinimumTriggerDistance)
|
|
[Expand]
Inherited Methods |
From class
android.location.Criteria
|
int
|
describeContents()
|
|
int
|
getAccuracy()
|
|
int
|
getBearingAccuracy()
|
|
int
|
getHorizontalAccuracy()
|
|
int
|
getPowerRequirement()
|
|
int
|
getSpeedAccuracy()
|
|
int
|
getVerticalAccuracy()
|
|
boolean
|
isAltitudeRequired()
|
|
boolean
|
isBearingRequired()
|
|
boolean
|
isCostAllowed()
|
|
boolean
|
isSpeedRequired()
|
|
void
|
setAccuracy(int arg0)
|
|
void
|
setAltitudeRequired(boolean arg0)
|
|
void
|
setBearingAccuracy(int arg0)
|
|
void
|
setBearingRequired(boolean arg0)
|
|
void
|
setCostAllowed(boolean arg0)
|
|
void
|
setHorizontalAccuracy(int arg0)
|
|
void
|
setPowerRequirement(int arg0)
|
|
void
|
setSpeedAccuracy(int arg0)
|
|
void
|
setSpeedRequired(boolean arg0)
|
|
void
|
setVerticalAccuracy(int arg0)
|
|
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
android.os.Parcelable
|
abstract
int
|
describeContents()
|
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Public Constructors
public
LocationSensorOptions
()
See Also
- {@link LocationSensorOptions#setAccuracy(int)},
{@link LocationSensorOptions#setAltitudeRequired(boolean)},
{@link LocationSensorOptions#setBearingRequired(boolean)},
{@link LocationSensorOptions#setCostAllowed(boolean)},
{@link LocationSensorOptions#setEnabledOnly(boolean)},
{@link LocationSensorOptions#setMinimumTriggerDistance(long)},
{@link LocationSensorOptions#setMinimumTriggerTime(long)},
{@link LocationSensorOptions#setPowerRequirement(int)},
{@link LocationSensorOptions#setSpeedRequired(boolean)}.
public
LocationSensorOptions
(int pAccuracy, boolean pAltitudeRequired, boolean pBearingRequired, boolean pCostAllowed, int pPowerRequirement, boolean pSpeedRequired, boolean pEnabledOnly, long pMinimumTriggerTime, long pMinimumTriggerDistance)
Public Methods
public
long
getMinimumTriggerDistance
()
public
long
getMinimumTriggerTime
()
public
boolean
isEnabledOnly
()
public
void
setEnabledOnly
(boolean pEnabledOnly)
public
void
setMinimumTriggerDistance
(long pMinimumTriggerDistance)
public
void
setMinimumTriggerTime
(long pMinimumTriggerTime)