BBjGeolocationEvent::getStatus
Description
In BBj 11.0 and higher, this method returns 0 for success or a non-zero error code to indicate failure.
Syntax
Return Value |
Method |
int |
getStatus() |
Parameters
None.
Return Value
Value |
Meaning |
0 |
Success. |
1 |
The location acquisition process failed because the application origin does not have permission to use the Geolocation API. This is the value returned if the user refuses to share their location. |
2 |
The position of the device could not be determined. For instance, one or more of the location providers used in the location acquisition process reported an internal error that caused the process to fail entirely. |
3 |
The length of time specified by the timeout property has elapsed before the implementation could successfully acquire a new Position object. |
Remarks
None.
Example
See Also
BBj Object Diagram for an illustration of the relationship between BBjObjects.