public class PositionError
extends java.lang.Object
{https://developer.mozilla.org/en-US/docs/Web/API/PositionError}
Modifier and Type | Field and Description |
---|---|
static int |
PERMISSION_DENIED
The acquisition of the geolocation information failed because
the page didn't have the permission to do it.
|
static int |
POSITION_UNAVAILABLE
The acquisition of the geolocation failed because at least one
internal source of position returned an internal error.
|
static int |
TIMEOUT
The time allowed to acquire the geolocation, defined by
PositionOptions.timeout information was reached before the information was obtained.
|
Constructor and Description |
---|
PositionError() |
Modifier and Type | Method and Description |
---|---|
static WritableMap |
buildError(int code,
java.lang.String message) |
public static int PERMISSION_DENIED
public static int POSITION_UNAVAILABLE
public static int TIMEOUT
public static WritableMap buildError(int code, java.lang.String message)