ILocationScan

interface ILocationScan

This callback is used with the LocatorScanner in order to delegate some operation to the user like :

See also

Functions

Link copied to clipboard
abstract fun needContinued(@NonNull data: String): Boolean
Called when need to check if need to retry again the retreive of location for an emergency (Alert/Mandown/Call/Ambient)
Link copied to clipboard
abstract fun onLocationChanged(    @NonNull location: Location,     @Nullable address: String,     @NonNull data: String)
Called when a new location is received
Link copied to clipboard
abstract fun onLocationNotFound(@NonNull data: String, isPermissionDenied: Boolean)
Called when no location found
Link copied to clipboard
abstract fun requestLocationPermission(@NonNull permissions: Array<String>, requestCode: Int)
Delegate to the user an array of permissions in order to request grant