ParameterCapability


class ParameterCapability : Parcelable
kotlin.Any
   ↳ android.media.quality.ParameterCapability

Capability info of media quality parameters

Summary

Constants
static String

The key for the default value of this parameter.

static String

The key for the enumeration of this parameter.

static String

The key for the max possible value of this parameter.

static String

The key for the min possible value of this parameter.

static Int

Double parameter type

static Int

Integer parameter type

static Int

Long integer parameter type

static Int

None parameter type.

static Int

String parameter type

Inherited constants
Public methods
Int

Bundle

Gets capability information.

String

Gets parameter name.

Int

Gets parameter type.

Boolean

Returns whether this parameter is supported or not.

Unit
writeToParcel(dest: Parcel, flags: Int)

Properties
static Parcelable.Creator<ParameterCapability!>

Constants

CAPABILITY_DEFAULT

static val CAPABILITY_DEFAULT: String

The key for the default value of this parameter.

Value: "default"

CAPABILITY_ENUM

static val CAPABILITY_ENUM: String

The key for the enumeration of this parameter.

Value: "enum"

CAPABILITY_MAX

static val CAPABILITY_MAX: String

The key for the max possible value of this parameter.

Value: "max"

CAPABILITY_MIN

static val CAPABILITY_MIN: String

The key for the min possible value of this parameter.

Value: "min"

TYPE_DOUBLE

static val TYPE_DOUBLE: Int

Double parameter type

Value: 3

TYPE_INT

static val TYPE_INT: Int

Integer parameter type

Value: 1

TYPE_LONG

static val TYPE_LONG: Int

Long integer parameter type

Value: 2

TYPE_NONE

static val TYPE_NONE: Int

None parameter type. It's used when a parameter is not supported.

Value: 0

TYPE_STRING

static val TYPE_STRING: Int

String parameter type

Value: 4

Public methods

describeContents

fun describeContents(): Int
Return
Int a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR

getCapabilities

fun getCapabilities(): Bundle

Gets capability information.

e.g. use the key CAPABILITY_MAX to get the max value.

getParameterName

fun getParameterName(): String

Gets parameter name.

isSupported

fun isSupported(): Boolean

Returns whether this parameter is supported or not.

writeToParcel

fun writeToParcel(
    dest: Parcel,
    flags: Int
): Unit
Parameters
dest Parcel: The Parcel in which the object should be written. This value cannot be null.
flags Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE. Value is either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES

Properties

CREATOR

static val CREATOR: Parcelable.Creator<ParameterCapability!>