LocationResults
> LocationResults

Argument passed to the getCurrentPosition callback.

  • 0.8
  • 0.8
  • 0.8

NOTE This is an abstract type. Any object meeting this description can be used where this type is used.

Defined By

Properties

Error code. ...

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.

LocationResults
coords : LocationCoordinates

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

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

Error message, if any returned.

Error message, if any returned.

Will be undefined if success is true.

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

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

  • 0.8

Indicates if the operation succeeded.

Indicates if the operation succeeded.

Returns true if request succeeded, false otherwise.