# LocationFunction

class LocationFunction
Content copied to clipboard

Functions to get last known phone location.

## Constructors

LocationFunction
Link copied to clipboard
fun LocationFunction()
Content copied to clipboard

## Properties

fusedLocationClient
Link copied to clipboard
private lateinit var fusedLocationClient: FusedLocationProviderClient
Content copied to clipboard

## Functions

getLastLocation
Link copied to clipboard
fun getLastLocation(context: Context, view: View)
Content copied to clipboard

Get phone last known location and display it in the PermissionOfflineExampleFragments.

fun getLastLocation(activity: Activity, context: Context, volleyStringResponse: CommunicationService.VolleyStringResponse)
Content copied to clipboard

Get phone last known location and send it to the server.