SurfaceControl.Transaction.SetContentPriority(SurfaceControl, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定該表面的合成器內容優先權。
[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. 的 Android.Views.SurfaceControl 值。
- priority
- Int32
優先權使用的 System.Int32 值。
傳回
這是設定內容優先權操作的結果。
- 屬性
備註
詳情請參閱 android 參考文件中的 android.view.SurfaceControl.Transaction.setContentPriority。
android 的 Java 文件。view.SurfaceControl.Transaction.setContentPriority。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。