LiveLocationListener

Listener for live location sharing requests.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun onQueryActiveLocationsResult(result: Result<List<Location>>)

Called when the result of ChatClient.queryActiveLocations is received.

Link copied to clipboard
abstract suspend fun onStartLiveLocationSharingResult(location: Location, result: Result<Location>)

Called when the result of ChatClient.startLiveLocationSharing is received.

Link copied to clipboard
abstract suspend fun onStopLiveLocationSharingResult(location: Location, result: Result<Location>)

Called when the result of ChatClient.stopLiveLocationSharing is received.

Link copied to clipboard
abstract suspend fun onUpdateLiveLocationPrecondition(location: Location): Result<Unit>

Run precondition for the request. If it returns Result.Success then the request is run otherwise it returns Result.Failure and no request is made.

Link copied to clipboard
abstract suspend fun onUpdateLiveLocationResult(location: Location, result: Result<Location>)

Called when the result of ChatClient.updateLiveLocation is received.