次の方法で共有


Camera.Parameters.PreviewFrameRate Property

Definition

Caution

deprecated

Returns the setting for the rate at which preview frames are received. -or- Sets the rate at which preview frames are received.

[System.Obsolete("deprecated")]
public virtual int PreviewFrameRate { [Android.Runtime.Register("getPreviewFrameRate", "()I", "GetGetPreviewFrameRateHandler")] get; [Android.Runtime.Register("setPreviewFrameRate", "(I)V", "GetSetPreviewFrameRate_IHandler")] set; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getPreviewFrameRate", "()I", "GetGetPreviewFrameRateHandler")>]
[<set: Android.Runtime.Register("setPreviewFrameRate", "(I)V", "GetSetPreviewFrameRate_IHandler")>]
member this.PreviewFrameRate : int with get, set

Property Value

the frame rate setting (frames per second)

Attributes

Remarks

Property getter documentation:

Returns the setting for the rate at which preview frames are received. This is the target frame rate. The actual frame rate depends on the driver.

This member is deprecated. replaced by #getPreviewFpsRange(int[])

Java documentation for android.hardware.Camera.Parameters.getPreviewFrameRate().

Property setter documentation:

Sets the rate at which preview frames are received. This is the target frame rate. The actual frame rate depends on the driver.

This member is deprecated. replaced by #setPreviewFpsRange(int,int)

Java documentation for android.hardware.Camera.Parameters.setPreviewFrameRate(int).

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