Поделиться через


UIApplication.LaunchOptionsLocalNotificationKey Свойство

Определение

Константа уведомления для 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 экземпляр .

Этот ключ будет присутствовать в параметрах запуска, если было доставлено локальное уведомление, а приложение не было запущено.

Этот ключ используется с переданным NSDictionaryM:UIKit.UIApplicationDelegate.FinishedLaunching(UIKit.UIApplication, Foundation.NSDictionary)

Применяется к