Notification.Action.Builder.SetEmphasisHint(Int32) 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 a hint about the importance of this action relative to others in this notification.
[Android.Runtime.Register("setEmphasisHint", "(I)Landroid/app/Notification$Action$Builder;", "", ApiSince=37)]
public Android.App.Notification.Action.Builder SetEmphasisHint(int emphasis);
[<Android.Runtime.Register("setEmphasisHint", "(I)Landroid/app/Notification$Action$Builder;", "", ApiSince=37)>]
member this.SetEmphasisHint : int -> Android.App.Notification.Action.Builder
Parameters
- emphasis
- Int32
Value is one of the following: Notification.Action.EMPHASIS_AUTO; Notification.Action.EMPHASIS_PRIMARY; Notification.Action.EMPHASIS_SECONDARY
Returns
- Attributes
Remarks
Sets a hint about the importance of this action relative to others in this notification. This may be used for promoted ongoing notifications, and is not binding on standard notifications.
Android reference for android.app.Notification.Action.Builder.setEmphasisHint.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.