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
参数
- thresholds
- SurfaceControl.TrustedPresentationThresholds
- executor
- IExecutor
- listener
- IConsumer
返回
- 属性