Enum Class NavigationCommand

java.lang.Object
java.lang.Enum<NavigationCommand>
org.freedesktop.gstreamer.video.NavigationCommand
All Implemented Interfaces:
Serializable, Comparable<NavigationCommand>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum NavigationCommand extends Enum<NavigationCommand> implements Enumeration

A set of commands that may be issued to an element providing the GstNavigation interface. The available commands can be queried via the gst_navigation_query_new_commands() query.

For convenience in handling DVD navigation, the MENU commands are aliased as: GST_NAVIGATION_COMMAND_DVD_MENU = GSTNAVIGATIONCOMMANDMENU1 GST_NAVIGATION_COMMAND_DVD_TITLE_MENU = GSTNAVIGATIONCOMMANDMENU2 GST_NAVIGATION_COMMAND_DVD_ROOT_MENU = GSTNAVIGATIONCOMMANDMENU3 GST_NAVIGATION_COMMAND_DVD_SUBPICTURE_MENU = GSTNAVIGATIONCOMMANDMENU4 GST_NAVIGATION_COMMAND_DVD_AUDIO_MENU = GSTNAVIGATIONCOMMANDMENU5 GST_NAVIGATION_COMMAND_DVD_ANGLE_MENU = GSTNAVIGATIONCOMMANDMENU6 GST_NAVIGATION_COMMAND_DVD_CHAPTER_MENU = GSTNAVIGATIONCOMMANDMENU7

  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Activate (click) the currently selected button in a menu, if such a button exists.
    Select the button below the current one in a menu, if such a button exists.
    An invalid command entry
    Select the next button to the left in a menu, if such a button exists.
    Execute navigation menu command 1.
    Execute navigation menu command 2.
    Execute navigation menu command 3.
    Execute navigation menu command 4.
    Execute navigation menu command 5.
    Execute navigation menu command 6.
    Execute navigation menu command 7.
    Switch to the next angle in a multiangle feature.
    Switch to the previous angle in a multiangle feature.
    Select the next button to the right in a menu, if such a button exists.
    Select the button above the current one in a menu, if such a button exists.
  • Method Summary

    Modifier and Type
    Method
    Description
    static @Nullable Type
    Get the GType of the NavigationCommand class.
    int
    Get the numeric value of this enum
    of(int value)
    Create a new NavigationCommand for the provided value
    of(MemorySegment address)
    Create a new NavigationCommand for the value in the provided memory address.
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • INVALID

      public static final NavigationCommand INVALID
      An invalid command entry
    • LEFT

      public static final NavigationCommand LEFT
      Select the next button to the left in a menu, if such a button exists.
    • UP

      public static final NavigationCommand UP
      Select the button above the current one in a menu, if such a button exists.
    • DOWN

      public static final NavigationCommand DOWN
      Select the button below the current one in a menu, if such a button exists.
    • ACTIVATE

      public static final NavigationCommand ACTIVATE
      Activate (click) the currently selected button in a menu, if such a button exists.
    • PREV_ANGLE

      public static final NavigationCommand PREV_ANGLE
      Switch to the previous angle in a multiangle feature.
    • NEXT_ANGLE

      public static final NavigationCommand NEXT_ANGLE
      Switch to the next angle in a multiangle feature.
  • Method Details

    • values

      public static NavigationCommand[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static NavigationCommand valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • of

      public static NavigationCommand of(int value)
      Create a new NavigationCommand for the provided value
      Parameters:
      value - the enum value
      Returns:
      the enum for the provided value
    • getValue

      public int getValue()
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static NavigationCommand of(MemorySegment address)
      Create a new NavigationCommand for the value in the provided memory address.
      Parameters:
      address - the memory address holding a enum value
      Returns:
      the enum for the value in the provided memory address
    • getType

      public static @Nullable Type getType()
      Get the GType of the NavigationCommand class.
      Returns:
      the GType