RPBroadcastActivityViewController.LoadBroadcastActivityViewController 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.
Overloads
LoadBroadcastActivityViewController(Action<RPBroadcastActivityViewController,NSError>) |
Presents the UI for choosing a broadcast activity view controller, attempts to load the user's choice, and calls |
LoadBroadcastActivityViewController(String, Action<RPBroadcastActivityViewController,NSError>) |
Presents the UI for choosing a broadcast activity view controller, attempts to load the user's choice, and calls |
LoadBroadcastActivityViewController(Action<RPBroadcastActivityViewController,NSError>)
Presents the UI for choosing a broadcast activity view controller, attempts to load the user's choice, and calls handler
to process any errors and/or do additional work.
[Foundation.Export("loadBroadcastActivityViewControllerWithHandler:")]
public static void LoadBroadcastActivityViewController (Action<ReplayKit.RPBroadcastActivityViewController,Foundation.NSError> handler);
static member LoadBroadcastActivityViewController : Action<ReplayKit.RPBroadcastActivityViewController, Foundation.NSError> -> unit
Parameters
void
handler that takes the chosen broadcast activity view controller and an error, either of which can be null
.
- Attributes
Remarks
If the loading was successful, then the error argument of handler
will be null. If it was not, then the broadcast activity view controller argument will be null
.
Applies to
LoadBroadcastActivityViewController(String, Action<RPBroadcastActivityViewController,NSError>)
Presents the UI for choosing a broadcast activity view controller, attempts to load the user's choice, and calls handler
to process any errors and/or do additional work.
[Foundation.Export("loadBroadcastActivityViewControllerWithPreferredExtension:handler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void LoadBroadcastActivityViewController (string preferredExtension, Action<ReplayKit.RPBroadcastActivityViewController,Foundation.NSError> handler);
static member LoadBroadcastActivityViewController : string * Action<ReplayKit.RPBroadcastActivityViewController, Foundation.NSError> -> unit
Parameters
- Attributes