GoogleMap.OnCameraFollowLocationCallback

public static interface GoogleMap.OnCameraFollowLocationCallback

Callback interface to get updates related to camera entering or exiting follow mode.

Public Method Summary

abstract void
onCameraStartedFollowingLocation()
Called when the camera starts following current location, typically will get called in response to GoogleMap.followMyLocation(int).
abstract void
onCameraStoppedFollowingLocation()
Called when the camera stops following current location.

Public Methods

public abstract void onCameraStartedFollowingLocation ()

Called when the camera starts following current location, typically will get called in response to GoogleMap.followMyLocation(int).

public abstract void onCameraStoppedFollowingLocation ()

Called when the camera stops following current location. A camera already following location will exit the follow mode if the camera is moved via user gesture or an api call GoogleMap.moveCamera(CameraUpdate), GoogleMap.animateCamera(CameraUpdate) etc.