Created
February 15, 2022 07:34
-
-
Save tssandor/f70e947ec157d4eac53405b1d3126427 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// USE Constans.PRIORITY_HIGH_ACCURACY: | |
// to request the most accurate locations available. | |
// This will return the finest location available. | |
// OR Constans.PRIORITY_BALANCED_POWER_ACCURACY: | |
// to request "block" level accuracy. | |
// Block level accuracy is considered to be about 100 meter accuracy. | |
// Using a coarse accuracy such as this often consumes less power. | |
Client.getInstance().startTrackingLocation(this, | |
activityResultRegistry, | |
Constants.PRIORITY_BALANCED_POWER_ACCURACY, | |
object : GeneralCallback { | |
override fun onSuccess(data: String) { | |
} | |
override fun onError(result: String) { | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment