Freigeben über


CKNotificationInfo.ShouldBadge Eigenschaft

Definition

Ruft einen booleschen Wert ab, der angibt, ob die App den Badge erhöhen soll, wenn die Benachrichtigung empfangen wird, oder legt diesen fest.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldBadge { [Foundation.Export("shouldBadge")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setShouldBadge:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.ShouldBadge : bool with get, set

Eigenschaftswert

Attribute

Gilt für: