public enum PadPresence extends Enum<PadPresence>
Pad
will become available, for use in PadTemplate
Enum Constant and Description |
---|
ALWAYS
The Pad is always available.
|
REQUEST
The pad is only available on request with
Element.getRequestPad(java.lang.String) |
SOMETIMES
The pad will become available depending on the media stream.
|
Modifier and Type | Method and Description |
---|---|
static PadPresence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PadPresence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PadPresence ALWAYS
public static final PadPresence SOMETIMES
public static final PadPresence REQUEST
Element.getRequestPad(java.lang.String)
public static PadPresence[] values()
for (PadPresence c : PadPresence.values()) System.out.println(c);
public static PadPresence valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 gstreamer-java. All rights reserved.