RetroArch
|
Go to the source code of this file.
Classes | |
struct | location_driver |
Typedefs | |
typedef struct location_driver | location_driver_t |
Functions | |
bool | driver_location_start (void) |
void | driver_location_stop (void) |
bool | driver_location_get_position (double *lat, double *lon, double *horiz_accuracy, double *vert_accuracy) |
void | driver_location_set_interval (unsigned interval_msecs, unsigned interval_distance) |
const char * | config_get_location_driver_options (void) |
const void * | location_driver_find_handle (int index) |
const char * | location_driver_find_ident (int index) |
void | find_location_driver (void) |
void | init_location (void) |
bool | location_driver_ctl (enum rarch_location_ctl_state state, void *data) |
Variables | |
location_driver_t | location_corelocation |
location_driver_t | location_android |
location_driver_t | location_null |
typedef struct location_driver location_driver_t |
config_get_location_driver_options:
Get an enumerated list of all location driver names, separated by '|'.
Returns: string listing of all location driver names, separated by '|'.
bool driver_location_get_position | ( | double * | lat, |
double * | lon, | ||
double * | horiz_accuracy, | ||
double * | vert_accuracy | ||
) |
driver_location_get_position: : Latitude of current position. : Longitude of current position. : Horizontal accuracy. : Vertical accuracy.
Gets current positioning information from location driver interface. Used by RETRO_ENVIRONMENT_GET_LOCATION_INTERFACE.
Returns: bool (1) if successful, otherwise false (0).
void driver_location_set_interval | ( | unsigned | interval_msecs, |
unsigned | interval_distance | ||
) |
driver_location_set_interval: : Interval time in milliseconds. : Distance at which to update.
Sets interval update time for location driver interface. Used by RETRO_ENVIRONMENT_GET_LOCATION_INTERFACE.
driver_location_start:
Starts location driver interface.. Used by RETRO_ENVIRONMENT_GET_LOCATION_INTERFACE.
Returns: true (1) if successful, otherwise false (0).
driver_location_stop:
Stops location driver interface.. Used by RETRO_ENVIRONMENT_GET_LOCATION_INTERFACE.
Returns: true (1) if successful, otherwise false (0).
bool location_driver_ctl | ( | enum rarch_location_ctl_state | state, |
void * | data | ||
) |
location_driver_find_handle: : index of driver to get handle to.
Returns: handle to location driver at index. Can be NULL if nothing found.
location_driver_find_handle: : index of driver to get handle to.
Returns: handle to location driver at index. Can be NULL if nothing found.
const char* location_driver_find_ident | ( | int | idx | ) |
location_driver_find_ident: : index of driver to get handle to.
Returns: Human-readable identifier of location driver at index. Can be NULL if nothing found.
location_driver_find_ident: : index of driver to get handle to.
Returns: Human-readable identifier of location driver at index. Can be NULL if nothing found.
location_driver_t location_android |
location_driver_t location_corelocation |
location_driver_t location_null |