SurfaceControl.Transaction.SetTrustedPresentationCallback Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
C#
[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
- Attributes
Produkt | Versioner |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |