UIApplication.LaunchOptionsLocalNotificationKey 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
LaunchOptionsLocalNot 的通知常數
[Foundation.Field("UIApplicationLaunchOptionsLocalNotificationKey", "UIKit")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenterDelegate.DidReceiveNotificationResponse' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSString LaunchOptionsLocalNotificationKey { [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenterDelegate.DidReceiveNotificationResponse' instead.")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.LaunchOptionsLocalNotificationKey : Foundation.NSString
屬性值
NSString 常數應該用來做為 NSNotificationCenter 的權杖。
- 屬性
備註
此索引鍵的值將會是 UILocalNotification 實例。
如果已傳遞本機通知且應用程式未執行,此金鑰將會出現在啟動選項上。
此金鑰會與 NSDictionary 傳遞至 (UIKit.UIApplication、Foundation.NSDictionary)