EqualizerCapabilities
public
final
class
EqualizerCapabilities
extends Object
implements
Parcelable
| java.lang.Object | |
| ↳ | android.media.quality.EqualizerCapabilities |
A class to represent the static capabilities of an equalizer.
Summary
Inherited constants |
|---|
Fields | |
|---|---|
public
static
final
Creator<EqualizerCapabilities> |
CREATOR
|
Public methods | |
|---|---|
int
|
describeContents()
Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. |
int
|
getMaxLevelDb()
Gets the maximum supported gain level in decibels (dB). |
int
|
getMinLevelDb()
Gets the minimum supported gain level in decibels (dB). |
List<Integer>
|
getSupportedFrequenciesHz()
Gets an array of all supported band center frequencies in Hertz (Hz). |
boolean
|
hasAdjustableQ()
Returns true if the equalizer supports an adjustable Q factor. |
void
|
writeToParcel(Parcel dest, int flags)
Flatten this object in to a Parcel. |
Inherited methods | |
|---|---|
Fields
Public methods
describeContents
public int describeContents ()
Describe the kinds of special objects contained in this Parcelable
instance's marshaled representation. For example, if the object will
include a file descriptor in the output of writeToParcel(Parcel,int),
the return value of this method must include the
CONTENTS_FILE_DESCRIPTOR bit.
| Returns | |
|---|---|
int |
a bitmask indicating the set of special object types marshaled
by this Parcelable object instance.
Value is either 0 or
|
getMaxLevelDb
public int getMaxLevelDb ()
Gets the maximum supported gain level in decibels (dB).
| Returns | |
|---|---|
int |
|
getMinLevelDb
public int getMinLevelDb ()
Gets the minimum supported gain level in decibels (dB).
| Returns | |
|---|---|
int |
|
getSupportedFrequenciesHz
public List<Integer> getSupportedFrequenciesHz ()
Gets an array of all supported band center frequencies in Hertz (Hz).
| Returns | |
|---|---|
List<Integer> |
This value cannot be null. |
hasAdjustableQ
public boolean hasAdjustableQ ()
Returns true if the equalizer supports an adjustable Q factor.
| Returns | |
|---|---|
boolean |
|
writeToParcel
public void writeToParcel (Parcel dest, int flags)
Flatten this object in to a Parcel.
| Parameters | |
|---|---|
dest |
Parcel: This value cannot be null. |
flags |
int: Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.
Value is either 0 or a combination of the following:
|