SurfaceControl.Transaction.SetTrustedPresentationCallback 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
配置回調,報告指定表面的可信呈現狀態。
[Android.Runtime.Register("setTrustedPresentationCallback", "(Landroid/view/SurfaceControl;Landroid/view/SurfaceControl$TrustedPresentationThresholds;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)Landroid/view/SurfaceControl$Transaction;", "GetSetTrustedPresentationCallback_Landroid_view_SurfaceControl_Landroid_view_SurfaceControl_TrustedPresentationThresholds_Ljava_util_concurrent_Executor_Ljava_util_function_Consumer_Handler", ApiSince=34)]
public virtual Android.Views.SurfaceControl.Transaction SetTrustedPresentationCallback(Android.Views.SurfaceControl sc, Android.Views.SurfaceControl.TrustedPresentationThresholds thresholds, Java.Util.Concurrent.IExecutor executor, Java.Util.Functions.IConsumer listener);
[<Android.Runtime.Register("setTrustedPresentationCallback", "(Landroid/view/SurfaceControl;Landroid/view/SurfaceControl$TrustedPresentationThresholds;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)Landroid/view/SurfaceControl$Transaction;", "GetSetTrustedPresentationCallback_Landroid_view_SurfaceControl_Landroid_view_SurfaceControl_TrustedPresentationThresholds_Ljava_util_concurrent_Executor_Ljava_util_function_Consumer_Handler", ApiSince=34)>]
abstract member SetTrustedPresentationCallback : Android.Views.SurfaceControl * Android.Views.SurfaceControl.TrustedPresentationThresholds * Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> Android.Views.SurfaceControl.Transaction
override this.SetTrustedPresentationCallback : Android.Views.SurfaceControl * Android.Views.SurfaceControl.TrustedPresentationThresholds * Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> Android.Views.SurfaceControl.Transaction
參數
用於 sc. 的 Android.Views.SurfaceControl 值。
- thresholds
- SurfaceControl.TrustedPresentationThresholds
Android.Views.SurfaceControl+TrustedPresentationThresholds 的值用於閾值。
- executor
- IExecutor
Java。Util.Concurrent.IExecutor 值用於執行器。
- listener
- IConsumer
Java。Util.Functions.IConsumer 值用於監聽器。
傳回
這是受信任的呈現回調操作的結果。
- 屬性
備註
詳情請參閱 Android 參考文件中的 android.view.SurfaceControl.Transaction.setTrustedPresentationCallback。
android.view.SurfaceControl.Transaction.setTrustedPresentationCallback的 Java 文件。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。