CodecParameters
@UnstableApi
class CodecParameters
An immutable collection of parameters to be applied to a codec.
Summary
Nested types |
|---|
class CodecParameters.BuilderA builder for |
Constants |
|
|---|---|
const CodecParameters! |
An empty |
Public functions |
|
|---|---|
CodecParameters.Builder! |
Returns a new |
Boolean |
|
Any? |
Retrieves a parameter value by its key. |
Int |
hashCode() |
(Mutable)Set<String!>! |
keySet()Returns a |
Constants
Public functions
buildUpon
fun buildUpon(): CodecParameters.Builder!
Returns a new Builder initialized with the values of this instance.
get
fun get(key: String!): Any?
Retrieves a parameter value by its key.
Note: If the returned value is a ByteBuffer, it must be treated as read-only. Modifying the returned ByteBuffer will affect this CodecParameters instance and may lead to unexpected behavior.
| Parameters | |
|---|---|
key: String! |
A string representing the key of the codec parameter. |
| Returns | |
|---|---|
Any? |
The value of the requested parameter, or |