次の方法で共有


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 メソッドは、操作を表す Task を使用して呼び出し元に制御を返すことによって、C# async で使用するのに適しています。

追加する。

適用対象