NotificationDetails.Builder.SetNotification(Notification) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the payload for the notification details.
[Android.Runtime.Register("setNotification", "(Landroid/app/Notification;)Landroid/app/personalcontext/hint/NotificationDetails$Builder;", "", ApiSince=37)]
public Android.App.PersonalContext.Hint.NotificationDetails.Builder SetNotification(Android.App.Notification notification);
[<Android.Runtime.Register("setNotification", "(Landroid/app/Notification;)Landroid/app/personalcontext/hint/NotificationDetails$Builder;", "", ApiSince=37)>]
member this.SetNotification : Android.App.Notification -> Android.App.PersonalContext.Hint.NotificationDetails.Builder
Parameters
- notification
- Notification
The notification payload to record.
Returns
The builder with its notification payload set.
- Attributes
Remarks
A null notification payload is rejected.