AUAudioUnit.RequestViewControllerAsync Method
Definition
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.
Asynchronously requests the view controller for the audio unit.
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<UIKit.UIViewController> RequestViewControllerAsync ();
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<UIKit.UIViewController> RequestViewControllerAsync ();
abstract member RequestViewControllerAsync : unit -> System.Threading.Tasks.Task<UIKit.UIViewController>
override this.RequestViewControllerAsync : unit -> System.Threading.Tasks.Task<UIKit.UIViewController>
Returns
A task that represents the asynchronous RequestViewController operation. The result is of type System.Threading.Tasks.Task<AppKit.NSViewController> on MacOS and System.Threading.Tasks.Task<AppKit.UIViewController> on iOS.
- Attributes
Remarks
The RequestViewControllerAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.