Default value may depend on accuracy option. Default value depends on accuracy option. For low-accuracy the implementation can avoid geolocation providers that consume a significant amount of power (such as GPS). Pass one of LocationAccuracy enum values.
taskName ( string) - Name of the task receiving location updates.Import React, ) Try this example on Snack