Enum Class NavigationMessageType

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

@Generated("org.javagi.JavaGI") public enum NavigationMessageType extends Enum<NavigationMessageType> implements Enumeration
A set of notifications that may be received on the bus when navigation related status changes.
  • Enum Constant Details

    • INVALID

      public static final NavigationMessageType INVALID
      Returned from gst_navigation_message_get_type() when the passed message is not a navigation message.
    • MOUSE_OVER

      public static final NavigationMessageType MOUSE_OVER
      Sent when the mouse moves over or leaves a clickable region of the output, such as a DVD menu button.
    • COMMANDS_CHANGED

      public static final NavigationMessageType COMMANDS_CHANGED
      Sent when the set of available commands changes and should re-queried by interested applications.
    • ANGLES_CHANGED

      public static final NavigationMessageType ANGLES_CHANGED
      Sent when display angles in a multi-angle feature (such as a multiangle DVD) change - either angles have appeared or disappeared.
    • EVENT

      public static final NavigationMessageType EVENT
      Sent when a navigation event was not handled by any element in the pipeline (Since: 1.6)
  • Method Details

    • values

      public static NavigationMessageType[] 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 NavigationMessageType 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 NavigationMessageType of(int value)
      Create a new NavigationMessageType 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 NavigationMessageType of(MemorySegment address)
      Create a new NavigationMessageType 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 NavigationMessageType class.
      Returns:
      the GType