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
傳回
- 屬性