pub type retro_location_set_interval_t = Option<unsafe extern "C" fn(interval_ms: c_uint, interval_distance: c_uint)>;Expand description
Sets the interval of time and/or distance at which to update/poll location-based data.
To ensure compatibility with all location-based implementations, values for both interval_ms and interval_distance should be provided.
interval_ms is the interval expressed in milliseconds. interval_distance is the distance interval expressed in meters.
Aliased Type§
pub enum retro_location_set_interval_t {
None,
Some(unsafe extern "C" fn(u32, u32)),
}