Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

CarMenuConstants.MenuItemConstants

public static class CarMenuConstants.MenuItemConstants
extends Object

java.lang.Object
   ↳ android.car.app.menu.CarMenuConstants.MenuItemConstants


Summary

Nested classes

@interface CarMenuConstants.MenuItemConstants.MenuItemFlags

 

@interface CarMenuConstants.MenuItemConstants.WidgetTypes

 

Constants

int FLAG_BROWSABLE

Flag: Indicates that the item has children of its own

int FLAG_FIRSTITEM

Flag: Indicates that the menu should scroll to this item

String KEY_EMPTY_PLACEHOLDER

Key for the value of whether the item is a place holder.

String KEY_FLAGS

Key for the flags.

String KEY_ID

Key for the menu item id.

String KEY_LEFTICON

Key for the left icon.

String KEY_REMOTEVIEWS

Key for the remote views.

String KEY_RIGHTICON

Key for the right icon.

String KEY_RIGHTTEXT

Key for the text to be shown to the right of the item.

String KEY_TEXT

Key for the item title.

String KEY_TITLE

Key for the car menu title.

String KEY_WIDGET

Key for the widget type.

String KEY_WIDGET_STATE

Key for the widget state.

int WIDGET_CHECKBOX

Use a checkbox widget.

int WIDGET_TEXT_VIEW

Use a TextView widget

Public constructors

CarMenuConstants.MenuItemConstants()

Inherited methods

Constants

FLAG_BROWSABLE

public static final int FLAG_BROWSABLE

Flag: Indicates that the item has children of its own

Constant Value: 1 (0x00000001)

FLAG_FIRSTITEM

public static final int FLAG_FIRSTITEM

Flag: Indicates that the menu should scroll to this item

Constant Value: 2 (0x00000002)

KEY_EMPTY_PLACEHOLDER

public static final String KEY_EMPTY_PLACEHOLDER

Key for the value of whether the item is a place holder.

Constant Value: "android.car.app.menu.empty_placeholder"

KEY_FLAGS

public static final String KEY_FLAGS

Key for the flags.

Constant Value: "android.car.app.menu.flags"

KEY_ID

public static final String KEY_ID

Key for the menu item id.

Constant Value: "android.car.app.menu.id"

KEY_LEFTICON

public static final String KEY_LEFTICON

Key for the left icon.

Constant Value: "android.car.app.menu.leftIcon"

KEY_REMOTEVIEWS

public static final String KEY_REMOTEVIEWS

Key for the remote views.

Constant Value: "android.car.app.menu.remoteViews"

KEY_RIGHTICON

public static final String KEY_RIGHTICON

Key for the right icon.

Constant Value: "android.car.app.menu.rightIcon"

KEY_RIGHTTEXT

public static final String KEY_RIGHTTEXT

Key for the text to be shown to the right of the item.

Constant Value: "android.car.app.menu.rightText"

KEY_TEXT

public static final String KEY_TEXT

Key for the item title.

Constant Value: "android.car.app.menu.text"

KEY_TITLE

public static final String KEY_TITLE

Key for the car menu title.

Constant Value: "android.car.app.menu.title"

KEY_WIDGET

public static final String KEY_WIDGET

Key for the widget type.

Constant Value: "android.car.app.menu.widget"

KEY_WIDGET_STATE

public static final String KEY_WIDGET_STATE

Key for the widget state.

Constant Value: "android.car.app.menu.widget_state"

WIDGET_CHECKBOX

public static final int WIDGET_CHECKBOX

Use a checkbox widget.

Constant Value: 1 (0x00000001)

WIDGET_TEXT_VIEW

public static final int WIDGET_TEXT_VIEW

Use a TextView widget

Constant Value: 2 (0x00000002)

Public constructors

CarMenuConstants.MenuItemConstants

public CarMenuConstants.MenuItemConstants ()