requestLocationUpdates

Requests location updates with a callback on the specified Looper thread.

Since

1.0.0

Parameters

request

LocationEngineRequest for the updates.

callback
looper

The Looper object whose message queue will be used to implement the callback mechanism, or null to invoke callbacks on the main thread.

Throws

if permission is not granted to access location services.


Requests location updates with callback on the specified PendingIntent.

Since

1.1.0

Parameters

request

LocationEngineRequest for the updates.

pendingIntent

PendingIntent for the location result LocationEngineResult.

Throws

if permission is not granted to access location services.