Package org.freedesktop.gstreamer.video
Enum Class NavigationCommand
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<NavigationCommand>
,Constable
@Generated("io.github.jwharm.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 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionActivate (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 entrySelect 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 TypeMethodDescriptionstatic Type
getType()
Get the GType of the NavigationCommand classint
getValue()
Get the numeric value of this enumstatic NavigationCommand
of
(int value) Create a new NavigationCommand for the provided valuestatic NavigationCommand
Returns the enum constant of this class with the specified name.static NavigationCommand[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INVALID
An invalid command entry -
MENU1
Execute navigation menu command 1. For DVD, this enters the DVD root menu, or exits back to the title from the menu. -
MENU2
Execute navigation menu command 2. For DVD, this jumps to the DVD title menu. -
MENU3
Execute navigation menu command 3. For DVD, this jumps into the DVD root menu. -
MENU4
Execute navigation menu command 4. For DVD, this jumps to the Subpicture menu. -
MENU5
Execute navigation menu command 5. For DVD, the jumps to the audio menu. -
MENU6
Execute navigation menu command 6. For DVD, this jumps to the angles menu. -
MENU7
Execute navigation menu command 7. For DVD, this jumps to the chapter menu. -
LEFT
Select the next button to the left in a menu, if such a button exists. -
RIGHT
Select the next button to the right in a menu, if such a button exists. -
UP
Select the button above the current one in a menu, if such a button exists. -
DOWN
Select the button below the current one in a menu, if such a button exists. -
ACTIVATE
Activate (click) the currently selected button in a menu, if such a button exists. -
PREV_ANGLE
Switch to the previous angle in a multiangle feature. -
NEXT_ANGLE
Switch to the next angle in a multiangle feature.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
of
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 interfaceEnumeration
- Returns:
- the enum value
-
getType
-