Skip to content

Most visited

Recently visited

navigation
Added in API level 19

RemoteControlClient.OnMetadataUpdateListener

public static interface RemoteControlClient.OnMetadataUpdateListener

android.media.RemoteControlClient.OnMetadataUpdateListener


Interface definition for a callback to be invoked when one of the metadata values has been updated. Implement this interface to receive metadata updates after registering your listener through setMetadataUpdateListener(OnMetadataUpdateListener).

Summary

Public methods

abstract void onMetadataUpdate(int key, Object newValue)

Called on the implementer to notify that the metadata field for the given key has been updated to the new value.

Public methods

onMetadataUpdate

Added in API level 19
void onMetadataUpdate (int key, 
                Object newValue)

Called on the implementer to notify that the metadata field for the given key has been updated to the new value.

Parameters
key int: the identifier of the updated metadata field.
newValue Object: the Object storing the new value for the key.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.