共用方式為


SurfaceControl.Transaction.SetFrameRate 方法

定義

多載

SetFrameRate(SurfaceControl, Single, Int32)
SetFrameRate(SurfaceControl, Single, Int32, Int32)

SetFrameRate(SurfaceControl, Single, Int32)

[Android.Runtime.Register("setFrameRate", "(Landroid/view/SurfaceControl;FI)Landroid/view/SurfaceControl$Transaction;", "GetSetFrameRate_Landroid_view_SurfaceControl_FIHandler", ApiSince=30)]
public virtual Android.Views.SurfaceControl.Transaction SetFrameRate (Android.Views.SurfaceControl sc, float frameRate, int compatibility);
[<Android.Runtime.Register("setFrameRate", "(Landroid/view/SurfaceControl;FI)Landroid/view/SurfaceControl$Transaction;", "GetSetFrameRate_Landroid_view_SurfaceControl_FIHandler", ApiSince=30)>]
abstract member SetFrameRate : Android.Views.SurfaceControl * single * int -> Android.Views.SurfaceControl.Transaction
override this.SetFrameRate : Android.Views.SurfaceControl * single * int -> Android.Views.SurfaceControl.Transaction

參數

frameRate
Single
compatibility
Int32

傳回

屬性

適用於

SetFrameRate(SurfaceControl, Single, Int32, Int32)

[Android.Runtime.Register("setFrameRate", "(Landroid/view/SurfaceControl;FII)Landroid/view/SurfaceControl$Transaction;", "GetSetFrameRate_Landroid_view_SurfaceControl_FIIHandler", ApiSince=31)]
public virtual Android.Views.SurfaceControl.Transaction SetFrameRate (Android.Views.SurfaceControl sc, float frameRate, int compatibility, int changeFrameRateStrategy);
[<Android.Runtime.Register("setFrameRate", "(Landroid/view/SurfaceControl;FII)Landroid/view/SurfaceControl$Transaction;", "GetSetFrameRate_Landroid_view_SurfaceControl_FIIHandler", ApiSince=31)>]
abstract member SetFrameRate : Android.Views.SurfaceControl * single * int * int -> Android.Views.SurfaceControl.Transaction
override this.SetFrameRate : Android.Views.SurfaceControl * single * int * int -> Android.Views.SurfaceControl.Transaction

參數

frameRate
Single
compatibility
Int32
changeFrameRateStrategy
Int32

傳回

屬性

適用於