| Retrieve the value found in the metadata associated with the
given key. Only keys obtained from getKeys
are valid and can be used to retrieve metadata values.
If null or an invalid key is used, an
IllegalArgumentException will be thrown.
Some keys are valid but the associated metadata may not
be available before a certain portion of the media is
played. For example, some streaming media types may
contain metadata that's stored at the end of the file.
As a result, the metadata may not be available
until the playback reaches the end of media. When
that happens, calling getKeyValues with
those keys will return null before the
data is available. However, when the playback reaches
the end of media, all metadata values must be
made available.
Parameters: key - a key to retrieve the value. the value of the key or null if the given key is valid butthe value is not yet available. exception: IllegalArgumentException - Thrown if the given key isnull or invalid. |