Class Html5Utils

java.lang.Object
org.silverpeas.mobile.client.common.Html5Utils

public class Html5Utils extends Object
  • Constructor Details

    • Html5Utils

      public Html5Utils()
  • Method Details

    • disableAnchor

      public static void disableAnchor(com.google.gwt.user.client.ui.Anchor a)
    • enableAnchor

      public static void enableAnchor(com.google.gwt.user.client.ui.Anchor a)
    • setVideoFullScreen

      public static void setVideoFullScreen(com.google.gwt.dom.client.Element element)
    • setVideoNotFullScreen

      public static void setVideoNotFullScreen(com.google.gwt.dom.client.Element element)
    • isVideoFullScreen

      public static boolean isVideoFullScreen()
    • vibrate

      public static void vibrate()
    • vibrate

      public static void vibrate(int duration)
    • isSpeechSupported

      public static boolean isSpeechSupported()
    • isSpeechSynthesisSupported

      public static boolean isSpeechSynthesisSupported()
    • startListening

      public static void startListening()
    • stopListening

      public static void stopListening()
    • initSpeech

      public static boolean initSpeech(boolean continuous, String language)
    • getVoices

      public static com.google.gwt.core.client.JsArray<Voice> getVoices()
    • readText

      public static void readText(String[] text, com.google.gwt.user.client.Command endCallback)
    • cancelSpeaking

      public static void cancelSpeaking()
    • onSpeechResult

      public static void onSpeechResult(String result)
    • onSpeechStart

      public static void onSpeechStart()
    • onSpeechStop

      public static void onSpeechStop()
    • onSpeechError

      public static void onSpeechError()
    • canShare

      public static boolean canShare(String title, String text, String url)
    • share

      public static void share(String title, String text, String url)
    • copyInClipboard

      public static void copyInClipboard(String text)