Delegate. Continue User Activity Method
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.
Informs the app that there is data associated with continuing a task specified as a NSUserActivity object, and then returns whether the app continued the activity.
[Foundation.Export("application:continueUserActivity:restorationHandler:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)] public virtual bool ContinueUserActivity (UIKit.UIApplication application, Foundation.NSUserActivity userActivity, UIKit.UIApplicationRestorationHandler completionHandler);
abstract member ContinueUserActivity : UIKit.UIApplication * Foundation.NSUserActivity * UIKit.UIApplicationRestorationHandler -> bool override this.ContinueUserActivity : UIKit.UIApplication * Foundation.NSUserActivity * UIKit.UIApplicationRestorationHandler -> bool
The user activity identifier.
true if the app handled the user activity.
The system calls this method if the application has registered its ability to handle the
userActivity and WillContinueUserActivity(UIApplication, String) has returned
An application indicates interest in a particular
userActivityType by adding the value to it's
info.plist as a T:System.String value in an array called
NSUserActivityType. By convention, the activity type begins with a domain-reversed string identifying the developer:
<key>NSUserActivityTypes</key> <array> <string>com.xamarin.HandOffDemo.verb</string> </array>
completionHandler is a system-provided function that takes an array of UIResponder objects that should have an opportunity to handle the
userActivity. The system will call the RestoreUserActivityState(NSUserActivity) method on each of these objects.