diff options
author | niko <niko@google.com> | 2009-07-16 16:39:53 -0700 |
---|---|---|
committer | niko <niko@google.com> | 2009-07-17 11:31:11 -0700 |
commit | d608a813a9d2cbc6e2a5ea81d78d4a9044090c4c (patch) | |
tree | c6661ade3ceeacfd804236265d2bdc6a9f65cff7 /media/libmediaplayerservice/TestPlayerStub.h | |
parent | 919f7387f2eafc36223a5cd599fb46871f801b10 (diff) | |
download | frameworks_av-d608a813a9d2cbc6e2a5ea81d78d4a9044090c4c.zip frameworks_av-d608a813a9d2cbc6e2a5ea81d78d4a9044090c4c.tar.gz frameworks_av-d608a813a9d2cbc6e2a5ea81d78d4a9044090c4c.tar.bz2 |
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 'media/libmediaplayerservice/TestPlayerStub.h')
-rw-r--r-- | media/libmediaplayerservice/TestPlayerStub.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libmediaplayerservice/TestPlayerStub.h b/media/libmediaplayerservice/TestPlayerStub.h index 80d53a8..339b108 100644 --- a/media/libmediaplayerservice/TestPlayerStub.h +++ b/media/libmediaplayerservice/TestPlayerStub.h @@ -94,6 +94,10 @@ class TestPlayerStub : public MediaPlayerInterface { virtual status_t invoke(const android::Parcel& in, android::Parcel *out) { return mPlayer->invoke(in, out); } + virtual status_t getMetadata(const SortedVector<MetadataType>& ids, + Parcel *records) { + return INVALID_OPERATION; + } // @return true if the current build is 'eng' or 'test' and the |