Package com.vuzix.hud.actionmenu
Class MenuItemHelper
java.lang.Object
com.vuzix.hud.actionmenu.MenuItemHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
setSpeechPhrase
(android.view.MenuItem item, CharSequence speechPhrase) Specifies a custom speech phrase used to trigger the menu item.
-
Constructor Details
-
MenuItemHelper
public MenuItemHelper()
-
-
Method Details
-
setSpeechPhrase
Specifies a custom speech phrase used to trigger the menu item. By default the menu item title will be used. But this allows an alternate phrase to be used.- Parameters:
item
- the MenuItem to set a speech phrase onspeechPhrase
- the speech phrase
-