CPApplicationDelegate.HandleEventsForBackgroundUrl 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
中的所有 sessionIdentifier
后台传输都已完成,或者需要身份验证。 应用程序应更新其接口,然后运行 completionHander
。
[Foundation.Export("application:handleEventsForBackgroundURLSession:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void HandleEventsForBackgroundUrl (UIKit.UIApplication application, string sessionIdentifier, Action completionHandler);
abstract member HandleEventsForBackgroundUrl : UIKit.UIApplication * string * Action -> unit
override this.HandleEventsForBackgroundUrl : UIKit.UIApplication * string * Action -> unit
参数
- application
- UIApplication
对调用此委托方法的 UIApplication 的引用。
- sessionIdentifier
- String
- completionHandler
- Action
- 属性