UIFocusAnimationCoordinator.AddCoordinatedUnfocusingAnimationsAsync 方法

定义

将提供的 animations 添加到协调动画,并在主动画完成时运行完成处理程序。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task AddCoordinatedUnfocusingAnimationsAsync (Action<UIKit.IUIFocusAnimationContext> animations);
abstract member AddCoordinatedUnfocusingAnimationsAsync : Action<UIKit.IUIFocusAnimationContext> -> System.Threading.Tasks.Task
override this.AddCoordinatedUnfocusingAnimationsAsync : Action<UIKit.IUIFocusAnimationContext> -> System.Threading.Tasks.Task

参数

animations
Action<IUIFocusAnimationContext>

要运行的动画。此参数可以是 。

返回

表示异步 AddCoordinatedUnfocusingAnimations 操作的任务

属性

注解

AddCoordinatedUnfocusingAnimationsAsync 方法适合与 C# 异步一起使用,方法是将控件返回到具有表示操作的 Task 的调用方。

内容待定。

适用于