Share via


SurfaceControl.Transaction.SetFrameRate Method

Definition

Overloads

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

Parameters

frameRate
Single
compatibility
Int32

Returns

Attributes

Applies to

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

Parameters

frameRate
Single
compatibility
Int32
changeFrameRateStrategy
Int32

Returns

Attributes

Applies to