public class MenuItemHelper
extends java.lang.Object
Constructor and Description |
---|
MenuItemHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
setSpeechPhrase(android.view.MenuItem item,
java.lang.CharSequence speechPhrase)
Specifies a custom speech phrase used to trigger the menu item.
|
public static void setSpeechPhrase(android.view.MenuItem item, java.lang.CharSequence speechPhrase)
item
- the MenuItem to set a speech phrase onspeechPhrase
- the speech phrase