Udostępnij za pośrednictwem


CaptureFailure.FrameNumber Property

Definition

Get the frame number associated with this failed capture.

public virtual long FrameNumber { [Android.Runtime.Register("getFrameNumber", "()J", "GetGetFrameNumberHandler")] get; }
[<get: Android.Runtime.Register("getFrameNumber", "()J", "GetGetFrameNumberHandler")>]
member this.FrameNumber : int64

Property Value

long frame number

Attributes

Remarks

Get the frame number associated with this failed capture.

Whenever a request has been processed, regardless of failed capture or success, it gets a unique frame number assigned to its future result/failed capture.

This value monotonically increments, starting with 0, for every new result or failure; and the scope is the lifetime of the CameraDevice.

Java documentation for android.hardware.camera2.CaptureFailure.getFrameNumber().

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