Class SoundEffectConstants

java.lang.Object
icyllis.modernui.view.SoundEffectConstants

public final class SoundEffectConstants extends Object
Constants to be used to play sound effects via View.playSoundEffect(int)
  • Field Details

    • CLICK

      public static final int CLICK
      See Also:
  • Method Details

    • getContantForFocusDirection

      public static int getContantForFocusDirection(int direction)
      Get the sonification constant for the focus directions.
      Parameters:
      direction - The direction of the focus.
      Returns:
      The appropriate sonification constant.
      Throws:
      IllegalArgumentException - when the passed direction is not one of the documented values.