@Gst.Since(minor=14) public enum PromiseResult extends Enum<PromiseResult>
Promise
Available since GStreamer 1.14Enum Constant and Description |
---|
EXPIRED
The promise expired (the carrying object lost all refs) and the promise
will never be fulfilled.
|
INTERRUPTED
Interrupted by the consumer as it doesn't want the value anymore.
|
PENDING
Initial state.
|
REPLIED
A producer marked a reply.
|
Modifier and Type | Method and Description |
---|---|
static PromiseResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PromiseResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PromiseResult PENDING
public static final PromiseResult INTERRUPTED
public static final PromiseResult REPLIED
public static final PromiseResult EXPIRED
public static PromiseResult[] values()
for (PromiseResult c : PromiseResult.values()) System.out.println(c);
public static PromiseResult 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.