UNNotificationContent.Body UNNotificationContent.Body Property

Definition

Gets the message that is displayed in the notification alert.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[get: Foundation.Export("body")]
[get: ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual string Body { get; }
member this.Body : string

Property Value

The message that is displayed in the notification alert.

Applies to