共用方式為


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 中顯示通知。

屬性

適用於