android.location
Class Criteria

java.lang.Object  extended by android.location.Criteria
All Implemented Interfaces:
Parcelable

public class Criteria
extends Object
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
static intACCURACY_COARSE
           
static intACCURACY_FINE
           
static intACCURACY_HIGH
           
static intACCURACY_LOW
           
static intACCURACY_MEDIUM
           
static Parcelable.Creator<Criteria>CREATOR
           
static intNO_REQUIREMENT
           
static intPOWER_HIGH
           
static intPOWER_LOW
           
static intPOWER_MEDIUM
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
Criteria()
           
Criteria(Criteria criteria)
           
 
Method Summary
 intdescribeContents()
           
 intgetAccuracy()
           
 intgetBearingAccuracy()
           
 intgetHorizontalAccuracy()
           
 intgetPowerRequirement()
           
 intgetSpeedAccuracy()
           
 intgetVerticalAccuracy()
           
 booleanisAltitudeRequired()
           
 booleanisBearingRequired()
           
 booleanisCostAllowed()
           
 booleanisSpeedRequired()
           
 voidsetAccuracy(int accuracy)
           
 voidsetAltitudeRequired(boolean altitudeRequired)
           
 voidsetBearingAccuracy(int accuracy)
           
 voidsetBearingRequired(boolean bearingRequired)
           
 voidsetCostAllowed(boolean costAllowed)
           
 voidsetHorizontalAccuracy(int accuracy)
           
 voidsetPowerRequirement(int level)
           
 voidsetSpeedAccuracy(int accuracy)
           
 voidsetSpeedRequired(boolean speedRequired)
           
 voidsetVerticalAccuracy(int accuracy)
           
 voidwriteToParcel(Parcel parcel, int flags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_REQUIREMENT

public static final int NO_REQUIREMENT
See Also:
Constant Field Values

POWER_LOW

public static final int POWER_LOW
See Also:
Constant Field Values

POWER_MEDIUM

public static final int POWER_MEDIUM
See Also:
Constant Field Values

POWER_HIGH

public static final int POWER_HIGH
See Also:
Constant Field Values

ACCURACY_FINE

public static final int ACCURACY_FINE
See Also:
Constant Field Values

ACCURACY_COARSE

public static final int ACCURACY_COARSE
See Also:
Constant Field Values

ACCURACY_LOW

public static final int ACCURACY_LOW
See Also:
Constant Field Values

ACCURACY_MEDIUM

public static final int ACCURACY_MEDIUM
See Also:
Constant Field Values

ACCURACY_HIGH

public static final int ACCURACY_HIGH
See Also:
Constant Field Values

CREATOR

public static final Parcelable.Creator<Criteria> CREATOR
Constructor Detail

Criteria

public Criteria()

Criteria

public Criteria(Criteria criteria)
Method Detail

setHorizontalAccuracy

public void setHorizontalAccuracy(int accuracy)

getHorizontalAccuracy

public int getHorizontalAccuracy()

setVerticalAccuracy

public void setVerticalAccuracy(int accuracy)

getVerticalAccuracy

public int getVerticalAccuracy()

setSpeedAccuracy

public void setSpeedAccuracy(int accuracy)

getSpeedAccuracy

public int getSpeedAccuracy()

setBearingAccuracy

public void setBearingAccuracy(int accuracy)

getBearingAccuracy

public int getBearingAccuracy()

setAccuracy

public void setAccuracy(int accuracy)

getAccuracy

public int getAccuracy()

setPowerRequirement

public void setPowerRequirement(int level)

getPowerRequirement

public int getPowerRequirement()

setCostAllowed

public void setCostAllowed(boolean costAllowed)

isCostAllowed

public boolean isCostAllowed()

setAltitudeRequired

public void setAltitudeRequired(boolean altitudeRequired)

isAltitudeRequired

public boolean isAltitudeRequired()

setSpeedRequired

public void setSpeedRequired(boolean speedRequired)

isSpeedRequired

public boolean isSpeedRequired()

setBearingRequired

public void setBearingRequired(boolean bearingRequired)

isBearingRequired

public boolean isBearingRequired()

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable

writeToParcel

public void writeToParcel(Parcel parcel,                          int flags)
Specified by:
writeToParcel in interface Parcelable


Copyright © 2008-2012. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14