SurfaceControl.Transaction.SetFrameRate 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
傳回
- 屬性