CameraUpdate | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - Get Started
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
    - Get the SDK
  - Google Services
- - Google Play
  - Publishing
  - Promoting
  - App Quality
  - Spotlight
  - Open Distribution

## Results

Loading...
Summary: Inherited Methods | [Expand All]
public final class

# CameraUpdate

extends Object

java.lang.Object
↳ | com.google.android.gms.maps.CameraUpdate

## Class Overview

Defines a camera move. An object of this type can be used to modify a map's camera by calling `animateCamera(CameraUpdate)`, `animateCamera(CameraUpdate, GoogleMap.CancelableCallback)` or `moveCamera(CameraUpdate)`.

To obtain a `CameraUpdate` use the factory class `CameraUpdateFactory`.

For example, to zoom in on a map, you can use the following code:

     GoogleMap map = ...;
       map.animateCamera(CameraUpdateFactory.zoomIn());

### Developer Guide

For more information, read the Changing the View developer guide.

## Summary

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)