public static final class GLProvider.Query
extends java.lang.Object
GLProvider
to notify back
results of its findings.Modifier and Type | Method and Description |
---|---|
long |
getMaximumAge()
Sets maximum age of cached results which are acceptable to be
returned.
|
long |
getTimeout()
The amount of milliseconds to wait for a result.
|
boolean |
isHighAccuracy()
Turns on high accuracy mode as specified by the
W3C's Geolocation API.
|
boolean |
isOneTime()
Is this one time or repeated request? Mimics value provided in
constructor . |
public final boolean isOneTime()
constructor
.Position.Handle.stop()
is called).public final boolean isHighAccuracy()
Position.Handle.setHighAccuracy(boolean)
.true
or false
public final long getTimeout()
Position.Handle.setTimeout(long)
.public final long getMaximumAge()
Position.Handle.setMaximumAge(long)
.Copyright © 2021 The Apache Software Foundation. All rights reserved.