startLocationUpdates
Begins receiving GPS updates. Delivers the last known location immediately (if available), then streams new fixes at ~5-second intervals via [OnUpdateListener.onLocationUpdate]. Requires [ACCESS_FINE_LOCATION][android.Manifest.permission.ACCESS_FINE_LOCATION]; no-op if the permission is not granted.
Declaration
@SuppressLint("MissingPermission") fun startLocationUpdates()
Begins receiving GPS updates. Delivers the last known location immediately (if available), then streams new fixes at ~5-second intervals via [OnUpdateListener.onLocationUpdate]. Requires [ACCESS_FINE_LOCATION][android.Manifest.permission.ACCESS_FINE_LOCATION]; no-op if the permission is not granted.