UNNotificationSettings.CarPlaySetting 属性

定义

获取一个值,该值指示应用是否可以在 CarPlay 中显示通知。

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UserNotifications.UNNotificationSetting CarPlaySetting { [Foundation.Export("carPlaySetting")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.CarPlaySetting : UserNotifications.UNNotificationSetting

属性值

一个 值,该值指示应用是否可以在 CarPlay 中显示通知。

属性

适用于