SurfaceControl.Transaction.SetContentPriority(SurfaceControl, Int32) 方法

定义

设置指定图面的合成器内容优先级。

[Android.Runtime.Register("setContentPriority", "(Landroid/view/SurfaceControl;I)Landroid/view/SurfaceControl$Transaction;", "GetSetContentPriority_Landroid_view_SurfaceControl_IHandler", ApiSince=36)]
public virtual Android.Views.SurfaceControl.Transaction SetContentPriority(Android.Views.SurfaceControl sc, int priority);
[<Android.Runtime.Register("setContentPriority", "(Landroid/view/SurfaceControl;I)Landroid/view/SurfaceControl$Transaction;", "GetSetContentPriority_Landroid_view_SurfaceControl_IHandler", ApiSince=36)>]
abstract member SetContentPriority : Android.Views.SurfaceControl * int -> Android.Views.SurfaceControl.Transaction
override this.SetContentPriority : Android.Views.SurfaceControl * int -> Android.Views.SurfaceControl.Transaction

参数

sc
SurfaceControl

用于 sc 的 Android.Views.SurfaceControl 值。

priority
Int32

用于优先级的 System.Int32 值。

返回

设置内容优先级操作的结果。

属性

注解

有关详细信息,请参阅 Android.view.SurfaceControl.Transaction.setContentPriority 的 Android 参考文档。

Java android.view.SurfaceControl.Transaction.setContentPriority 的文档。

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于