# LocationResults

Argument passed to the getCurrentPosition callback.

Availability
0.8
0.8
9.2.0
Extends

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Properties

# code

Availability
0.8
0.8
9.2.0
code :Number

Error code. Returns 0 if success is true.

Error code will be 0 if success is true, nonzero otherwise. If the error was generated by the operating system, that system's error value is used. Otherwise, this value will be -1.


# coords

Availability
0.8
0.8
9.2.0

If success is true, actual location data for this update.


# error

Availability
0.8
0.8
9.2.0
error :String

Error message, if any returned.

Will be undefined if success is true.


# provider

Availability
0.8

If success is true, object describing the location provider generating this update.


# success

Availability
0.8
0.8
9.2.0
success :Boolean

Indicates if the operation succeeded.

Returns true if request succeeded, false otherwise.