UIKit.UIApplicationDelegate.DidReceiveRemoteNotification Method
Remote background notification support: Invoked by operating system when your application received a remote notification.

Syntax

[Foundation.Export("application:didReceiveRemoteNotification:fetchCompletionHandler:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_7_0)]
public virtual void DidReceiveRemoteNotification (UIApplication application, Foundation.NSDictionary userInfo, [ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDActionArity1V4))] Action<UIBackgroundFetchResult> completionHandler)

Parameters

application
Handle to the UIApplication.
userInfo
Documentation for this section has not yet been entered.
completionHandler
Callback to invoke to notify the operating system of the result of the background fetch operation.

Remarks

This method is part of iOS 7.0 new remote notification support. This method is invoked if your Entitlements list the "remote-notification" background operation is set, and you receive a remote notification.

Upon completion, you must notify the operating system of the result of the method by invoking the provided callback.

Important: failure to call the provided callback method with the result code before this method completes will cause your application to be terminated.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0