public final class CLocationOption
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static long |
LOCATION_INTERVAL_DEFAULT |
static java.lang.String |
TAG |
构造器和说明 |
---|
CLocationOption() |
限定符和类型 | 方法和说明 |
---|---|
long |
getLocationInterval() |
int |
getLocationMode() |
long |
getTimeout() |
boolean |
isNeedAddress() |
boolean |
isOnce() |
boolean |
isReuse() |
CLocationOption |
setLocationInterval(long locationInterval) |
CLocationOption |
setLocationMode(int locationMode) |
CLocationOption |
setLocationOnce(boolean locationOnce) |
CLocationOption |
setNeedAddress(boolean needAddress) |
void |
setReuse(boolean reuse) |
CLocationOption |
setTimeout(long timeout) |
public static final java.lang.String TAG
public static final long LOCATION_INTERVAL_DEFAULT
public int getLocationMode()
public CLocationOption setLocationMode(int locationMode)
public long getLocationInterval()
public CLocationOption setLocationInterval(long locationInterval)
public long getTimeout()
public CLocationOption setTimeout(long timeout)
public boolean isNeedAddress()
public CLocationOption setNeedAddress(boolean needAddress)
public CLocationOption setLocationOnce(boolean locationOnce)
public boolean isOnce()
public boolean isReuse()
public void setReuse(boolean reuse)