共用方式為


SurfaceControl.Transaction.SetTrustedPresentationCallback 方法

定義

[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

參數

executor
IExecutor
listener
IConsumer

傳回

屬性

適用於