![]() |
API documentation
2.0rc1
|
#include <clientlib.h>
Inherits client::Object.
Public Member Functions | |
void | clearWatch (double watchId) |
void | getCurrentPosition (EventListener *successCallback) |
void | getCurrentPosition (EventListener *successCallback, EventListener *errorCallback) |
void | getCurrentPosition (EventListener *successCallback, EventListener *errorCallback, PositionOptions *options) |
double | watchPosition (EventListener *successCallback) |
double | watchPosition (EventListener *successCallback, EventListener *errorCallback) |
double | watchPosition (EventListener *successCallback, EventListener *errorCallback, PositionOptions *options) |
Geolocation * | get_prototype () |
void | set_prototype (Geolocation *) |
Geolocation () | |
![]() | |
Object () | |
template<typename T > | |
T | valueOf () |
operator double () const | |
Object * | operator[] (const client::String &name) const |
void | set_ (const client::String &name, Object *v) |
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> | |
void | set_ (const client::String &name, T v) |
bool | hasOwnProperty (const client::String &name) |
client::Geolocation::Geolocation | ( | ) |
void client::Geolocation::clearWatch | ( | double | watchId | ) |
Geolocation* client::Geolocation::get_prototype | ( | ) |
void client::Geolocation::getCurrentPosition | ( | EventListener * | successCallback | ) |
void client::Geolocation::getCurrentPosition | ( | EventListener * | successCallback, |
EventListener * | errorCallback | ||
) |
void client::Geolocation::getCurrentPosition | ( | EventListener * | successCallback, |
EventListener * | errorCallback, | ||
PositionOptions * | options | ||
) |
void client::Geolocation::set_prototype | ( | Geolocation * | ) |
double client::Geolocation::watchPosition | ( | EventListener * | successCallback | ) |
double client::Geolocation::watchPosition | ( | EventListener * | successCallback, |
EventListener * | errorCallback | ||
) |
double client::Geolocation::watchPosition | ( | EventListener * | successCallback, |
EventListener * | errorCallback, | ||
PositionOptions * | options | ||
) |