共用方式為


Surface.ClearFrameRate Method

Definition

Clears the frame rate which was set for this surface.

[Android.Runtime.Register("clearFrameRate", "()V", "GetClearFrameRateHandler", ApiSince=34)]
public virtual void ClearFrameRate ();
[<Android.Runtime.Register("clearFrameRate", "()V", "GetClearFrameRateHandler", ApiSince=34)>]
abstract member ClearFrameRate : unit -> unit
override this.ClearFrameRate : unit -> unit
Attributes

Remarks

Clears the frame rate which was set for this surface.

This is equivalent to calling #setFrameRate(float, int, int) using 0 for frameRate.

Note that this only has an effect for surfaces presented on the display. If this surface is consumed by something other than the system compositor, e.g. a media codec, this call has no effect.

Java documentation for android.view.Surface.clearFrameRate().

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