public final class QueryType extends Object implements Comparable<QueryType>
Modifier and Type | Field and Description |
---|---|
static QueryType |
CONVERT
convert values between formats
|
static QueryType |
DURATION
total duration of the stream
|
static QueryType |
FORMATS
query supported formats for convert
|
static QueryType |
JITTER
current jitter of stream
|
static QueryType |
LATENCY
latency of stream
|
static QueryType |
NONE
invalid query type
|
static QueryType |
POSITION
current position in stream
|
static QueryType |
RATE
current rate of the stream
|
static QueryType |
SEEKING
seeking capabilities
|
static QueryType |
SEGMENT
segment start/stop positions
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(QueryType queryType)
Compares this QueryType to another.
|
boolean |
equals(Object obj)
Compares this
QueryType to the specified object. |
static QueryType |
fromNick(String nick)
Looks up a query type by its gstreamer nick.
|
String |
getName()
gets the name of this type.
|
int |
hashCode()
Returns a hash code for this
QueryType . |
int |
intValue()
Gets the integer value of the enum.
|
static QueryType |
valueOf(int value)
Returns the QueryType with the specified integer value.
|
public static final QueryType NONE
public static final QueryType POSITION
public static final QueryType DURATION
public static final QueryType LATENCY
public static final QueryType JITTER
public static final QueryType RATE
public static final QueryType SEEKING
public static final QueryType SEGMENT
public static final QueryType CONVERT
public static final QueryType FORMATS
public static QueryType valueOf(int value)
value
- integer value.IllegalArgumentException
- if there is no QueryType
with the specified value.public static QueryType fromNick(String nick)
nick
- the gstreamer nick.public int intValue()
public String getName()
public boolean equals(Object obj)
QueryType
to the specified object.
The result is true
if and only if the argument is not
null
and is a QueryType
object equivalent to this
QueryType
public int hashCode()
QueryType
.hashCode
in class Object
Integer.hashCode()
public int compareTo(QueryType queryType)
compareTo
in interface Comparable<QueryType>
queryType
- the other QueryType to compare to.0
if this QueryType
is equal to queryType.
A value less than zero if this QueryType
is numerically less than
queryType.
A value greater than zero if this QueryType
is numerically
greater than queryType.Copyright © 2016. All rights reserved.