diff options
| author | 2009-07-16 16:39:53 -0700 | |
|---|---|---|
| committer | 2009-07-17 11:31:11 -0700 | |
| commit | 8994837f27e783a10f5cc038a7ae7595aabffdb6 (patch) | |
| tree | eb1a0cbb9e4d3c99f65a093574522e0016595046 /include/media/PVPlayer.h | |
| parent | 3720cf2de9a86b4fb5583f190b183498f0ad3fc0 (diff) | |
Added method to get metadata out of the player.
The method passes a list of metadata ids to be retrieved and
a parcel where the metadata records should be appended.
If the list of ids is empty, all the metadata should be returned.
Diffstat (limited to 'include/media/PVPlayer.h')
| -rw-r--r-- | include/media/PVPlayer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/PVPlayer.h b/include/media/PVPlayer.h index d8a677fb8edb..40ccc14b2ecb 100644 --- a/include/media/PVPlayer.h +++ b/include/media/PVPlayer.h @@ -53,6 +53,8 @@ public: virtual status_t setLooping(int loop); virtual player_type playerType() { return PV_PLAYER; } virtual status_t invoke(const Parcel& request, Parcel *reply); + virtual status_t getMetadata(const SortedVector<MetadataType>& ids, + Parcel *records); // make available to PlayerDriver void sendEvent(int msg, int ext1=0, int ext2=0) { MediaPlayerBase::sendEvent(msg, ext1, ext2); } |