
public class Property extends RefCounted
For example, setting the "b" property on an
IStreamCoder sets the bit-rate the coder will attempt
to encode at.
| Modifier and Type | Class and Description |
|---|---|
static class |
Property.Flags |
static class |
Property.Search
How to search options when looking for different values.
|
static class |
Property.Type
The different type of options that are supported by Humble Video.
Well, actually by FFMPEG, but you get the idea. |
| Modifier and Type | Method and Description |
|---|---|
Property |
copyReference()
Create a new Property object that is actually referring to the
exact same underlying native object.
|
boolean |
equals(Object obj)
Compares two values, returning true if the underlying objects in native code are the same object.
|
long |
getDefault()
Get the default setting this flag would have it not set.
|
double |
getDefaultAsDouble()
Get the default setting this flag would have it not set.
|
Property |
getFlagConstant(int position)
If this IProperty is of the type Type#PROPERTY_FLAGS, this method will
give you another IProperty representing a constant setting for that flag. |
Property |
getFlagConstant(String name)
If this IProperty is of the type Type#PROPERTY_FLAGS, this method will
give you another IProperty representing a constant setting for that flag. |
int |
getFlags()
Get any set flags (a bitmask) for this option.
|
String |
getHelp()
Get the (English) help string for this property.
|
String |
getName()
Get the name for this property.
|
int |
getNumFlagSettings()
If this IProperty is of the type Type#PROPERTY_FLAGS, this method will
tell you how many different flag settings it takes. |
Property.Type |
getType()
Get the underlying native type of this property.
|
String |
getUnit()
Get any sub-unit this option or constant belongs to.
|
int |
hashCode()
Get a hashable value for this object.
|
delete, getCurrentRefCountpublic Property copyReference()
copyReference in class RefCountedpublic boolean equals(Object obj)
public int hashCode()
public String getName()
public String getHelp()
public String getUnit()
public Property.Type getType()
public int getFlags()
public long getDefault()
public double getDefaultAsDouble()
public int getNumFlagSettings()
public Property getFlagConstant(int position)
position - The position number for the flag; Must be in range 0 <= position <= #getNumFlagSettings().public Property getFlagConstant(String name)
name - The name of the constant.Copyright © 2018 Humble Software. All rights reserved.