다음을 통해 공유


Camera.IShutterCallback.OnShutter Method

Definition

Caution

deprecated

Called as near as possible to the moment when a photo is captured from the sensor.

[Android.Runtime.Register("onShutter", "()V", "GetOnShutterHandler:Android.Hardware.Camera/IShutterCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public void OnShutter ();
[<Android.Runtime.Register("onShutter", "()V", "GetOnShutterHandler:Android.Hardware.Camera/IShutterCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member OnShutter : unit -> unit
Attributes

Remarks

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.

Java documentation for android.hardware.Camera.ShutterCallback.onShutter().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to