Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
Added in API level 1
public static interface

Camera.ShutterCallback

android.hardware.Camera.ShutterCallback

Class Overview

Callback interface used to signal the moment of actual image capture.

Summary

Public Methods
abstract void onShutter ()
Called as near as possible to the moment when a photo is captured from the sensor.

Public Methods

public abstract void onShutter ()

Added in API level 1

Called as near as possible to the moment when a photo is captured from the sensor. This is a good opportunity to play a shutter sound or give other feedback of camera operation. This may be some time after the photo was triggered, but some time before the actual data is available.