com.google.android.gms.maps.GoogleMap.OnCameraMoveStartedListener |
Callback interface for when the camera motion starts.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | REASON_API_ANIMATION | Non-gesture animation initiated in response to user actions. | |||||||||
int | REASON_DEVELOPER_ANIMATION | Developer initiated animation. | |||||||||
int | REASON_GESTURE | Camera motion initiated in response to user gestures on the map. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when the camera starts moving after it has been idle or when the reason for camera
motion has changed.
|
Non-gesture animation initiated in response to user actions. For example: zoom buttons, my location button, or marker clicks.
Developer initiated animation.
Camera motion initiated in response to user gestures on the map. For example: pan, tilt, pinch to zoom, or rotate.
Called when the camera starts moving after it has been idle or when the reason for camera motion has changed. Do not update or animate the camera from within this method.
This is called on the Android UI thread.
Parameters | |
---|---|
reason |
int :
The reason for the camera change. Possible values:
|