Class MenuItemHelper

java.lang.Object
com.vuzix.hud.actionmenu.MenuItemHelper

public class MenuItemHelper extends Object
  • Constructor Details

    • MenuItemHelper

      public MenuItemHelper()
  • Method Details

    • setSpeechPhrase

      public static void setSpeechPhrase(android.view.MenuItem item, CharSequence speechPhrase)
      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 on
      speechPhrase - the speech phrase