Stay organized with collections
Save and categorize content based on your preferences.
ParameterDescriptor
class ParameterDescriptor
Contains description of a parameter.
Summary
Public methods |
open Boolean |
|
open String |
Returns the name of the parameter.
|
open Int |
Returns the type of the parameter.
|
open Int |
|
Public methods
equals
open fun equals(other: Any?): Boolean
Parameters |
obj |
the reference object with which to compare. |
Return |
Boolean |
true if this object is the same as the obj argument; false otherwise. |
getName
open fun getName(): String
Returns the name of the parameter.
Return |
String |
This value cannot be null . |
hashCode
open fun hashCode(): Int
Return |
Int |
a hash code value for this object. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# MediaCodec.ParameterDescriptor\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nParameterDescriptor\n===================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/media/MediaCodec.ParameterDescriptor \"View this page in Java\") \n\n```\nclass ParameterDescriptor\n```\n\n|---|---------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.media.MediaCodec.ParameterDescriptor](#) |\n\nContains description of a parameter.\n\nSummary\n-------\n\n| Public methods ||\n|-----------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|\n| open [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [equals](#equals(kotlin.Any))`(`other:` `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?`)` \u003cbr /\u003e |\n| open [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [getName](#getName())`()` Returns the name of the parameter. |\n| open [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getType](#getType())`()` Returns the type of the parameter. |\n| open [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [hashCode](#hashCode())`()` \u003cbr /\u003e |\n\nPublic methods\n--------------\n\n### equals\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun equals(other: Any?): Boolean\n```\n\n| Parameters ||\n|-------|---------------------------------------------|\n| `obj` | the reference object with which to compare. |\n\n| Return ||\n|------------------------------------------------------------------------------------|---------------------------------------------------------------------------|\n| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `true` if this object is the same as the obj argument; `false` otherwise. |\n\n### getName\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getName(): String\n```\n\nReturns the name of the parameter.\n\n| Return ||\n|----------------------------------------------------------------------------------|------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | This value cannot be `null`. |\n\n### getType\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getType(): Int\n```\n\nReturns the type of the parameter. [MediaFormat.TYPE_NULL](/reference/kotlin/android/media/MediaFormat#TYPE_NULL:kotlin.Int) is never returned.\n\n| Return ||\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | Value is [android.media.MediaFormat#TYPE_NULL](/reference/kotlin/android/media/MediaFormat#TYPE_NULL:kotlin.Int), [android.media.MediaFormat#TYPE_INTEGER](/reference/kotlin/android/media/MediaFormat#TYPE_INTEGER:kotlin.Int), [android.media.MediaFormat#TYPE_LONG](/reference/kotlin/android/media/MediaFormat#TYPE_LONG:kotlin.Int), [android.media.MediaFormat#TYPE_FLOAT](/reference/kotlin/android/media/MediaFormat#TYPE_FLOAT:kotlin.Int), [android.media.MediaFormat#TYPE_STRING](/reference/kotlin/android/media/MediaFormat#TYPE_STRING:kotlin.Int), or [android.media.MediaFormat#TYPE_BYTE_BUFFER](/reference/kotlin/android/media/MediaFormat#TYPE_BYTE_BUFFER:kotlin.Int) |\n\n### hashCode\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun hashCode(): Int\n```\n\n| Return ||\n|----------------------------------------------------------------------------|------------------------------------|\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | a hash code value for this object. |"]]