Language

Notification.Action.StyleHint Property

Definition

Returns the app’s hint about the preferred visual style of this action.

public virtual int StyleHint { [Android.Runtime.Register("getStyleHint", "()I", "GetGetStyleHintHandler", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getStyleHint", "()I", "GetGetStyleHintHandler", ApiSince=37)>]
member this.StyleHint : int

Property Value

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

Attributes

Remarks

Returns the app’s hint about the preferred visual style of this action.

Android reference for android.app.Notification.Action.getStyleHint.

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