LocationListenerCompat

Added in 1.7.0

interface LocationListenerCompat : LocationListener


A version of LocationListener suitable for use on all API levels.

Summary

Public functions

Unit
onFlushComplete(requestCode: Int)
Unit
Unit
Unit
Unit
onStatusChanged(provider: String, status: Int, extras: Bundle?)

This function is deprecated.

Public functions

onFlushComplete

fun onFlushComplete(requestCode: Int): Unit

onLocationChanged

fun onLocationChanged(locations: (Mutable)List<Location!>): Unit

onProviderDisabled

fun onProviderDisabled(provider: String): Unit

onProviderEnabled

fun onProviderEnabled(provider: String): Unit

onStatusChanged

Added in 1.7.0
fun onStatusChanged(provider: String, status: Int, extras: Bundle?): Unit