public class NavButtonIntentAction
extends java.lang.Object
NavButtonModel
Constructor and Description |
---|
NavButtonIntentAction(android.content.Intent intent) |
NavButtonIntentAction(java.lang.String action) |
Modifier and Type | Method and Description |
---|---|
android.content.Intent |
getIntent()
Get the intent for this action
|
void |
setDismissMenu(boolean dismissMenu)
Set whether this action should dismiss its associated menu, if applicable
|
void |
setIntent(android.content.Intent intent)
Set the intent for this action
|
boolean |
shouldDismissMenu()
Get whether this action should dismiss its associated menu
|
public NavButtonIntentAction(android.content.Intent intent)
public NavButtonIntentAction(java.lang.String action)
public void setIntent(android.content.Intent intent)
intent
- Intentpublic android.content.Intent getIntent()
public void setDismissMenu(boolean dismissMenu)
dismissMenu
- True to dismiss associated menupublic boolean shouldDismissMenu()