sample property

bool sample
getter/setter pair

true if this Location is just 1 of several samples before settling upon a final location.

Multiple samples are requested when using BackgroundGeolocation.getCurrentPosition or when the plugin is performing a BackgroundGeolocation.onMotionChange. If you're manually uploading locations to your server, you should ignore those with location.sample == true.

Implementation

late bool sample;