Język

Notification.Action.Builder.SetStyleHint(Int32) Method

Definition

Sets a preferred visual style of this action.

[Android.Runtime.Register("setStyleHint", "(I)Landroid/app/Notification$Action$Builder;", "", ApiSince=37)]
public Android.App.Notification.Action.Builder SetStyleHint(int style);
[<Android.Runtime.Register("setStyleHint", "(I)Landroid/app/Notification$Action$Builder;", "", ApiSince=37)>]
member this.SetStyleHint : int -> Android.App.Notification.Action.Builder

Parameters

style
Int32

Value is one of the following: Notification.Action.STYLE_AUTO; Notification.Action.STYLE_TEXT_ONLY; Notification.Action.STYLE_ICON_AND_TEXT; Notification.Action.STYLE_ICON_ONLY

Returns

Attributes

Remarks

Sets a preferred visual style of this action. This may be used for promoted ongoing notifications, and is not binding on standard notifications.

Android reference for android.app.Notification.Action.Builder.setStyleHint.

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.

Applies to