NotificationDetails.Builder.SetUser(UserHandle) 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.
Associates the notification details with a user.
[Android.Runtime.Register("setUser", "(Landroid/os/UserHandle;)Landroid/app/personalcontext/hint/NotificationDetails$Builder;", "", ApiSince=37)]
public Android.App.PersonalContext.Hint.NotificationDetails.Builder SetUser(Android.OS.UserHandle user);
[<Android.Runtime.Register("setUser", "(Landroid/os/UserHandle;)Landroid/app/personalcontext/hint/NotificationDetails$Builder;", "", ApiSince=37)>]
member this.SetUser : Android.OS.UserHandle -> Android.App.PersonalContext.Hint.NotificationDetails.Builder
Parameters
- user
- UserHandle
The user handle associated with the notification.
Returns
This builder with the user handle stored.
- Attributes
Remarks
A null user handle is rejected.