public static interface RemoteControlClient.OnMetadataUpdateListener
| android.media.RemoteControlClient.OnMetadataUpdateListener |
当一个元数据值已被更新时,将调用回调的接口定义。 通过setMetadataUpdateListener(OnMetadataUpdateListener)注册听众后,实现此接口以接收元数据更新。
公共方法(Public methods) |
|
|---|---|
abstract void |
onMetadataUpdate(int key, Object newValue) 调用实现者来通知给定键的元数据字段已更新为新值。 |
void onMetadataUpdate (int key,
Object newValue)
调用实现者来通知给定键的元数据字段已更新为新值。
| 参数(Parameters) | |
|---|---|
key |
int: the identifier of the updated metadata field. |
newValue |
Object: the Object storing the new value for the key. |