diff options
author | Gloria Wang <gwang@google.com> | 2010-11-22 21:29:08 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-11-22 21:29:08 -0800 |
commit | 6dc4726e7fa14e4006f6790c6f1ba02cfe888870 (patch) | |
tree | 5162c29866b9b737bc3808fd196e437d8cf0c0e1 /include/drm/DrmManagerClient.h | |
parent | 321b630783709eeb18952c3408303489db4ea9eb (diff) | |
parent | f798e438c3997fd3fb39538bf3e958cfdc7a477c (diff) | |
download | frameworks_av-6dc4726e7fa14e4006f6790c6f1ba02cfe888870.zip frameworks_av-6dc4726e7fa14e4006f6790c6f1ba02cfe888870.tar.gz frameworks_av-6dc4726e7fa14e4006f6790c6f1ba02cfe888870.tar.bz2 |
am 24a90c26: am d9334934: Merge "Update of DRM Framework."
* commit '24a90c2674270fee0783bafa54fd5d845bdf0c18':
Update of DRM Framework.
Diffstat (limited to 'include/drm/DrmManagerClient.h')
-rw-r--r-- | include/drm/DrmManagerClient.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/drm/DrmManagerClient.h b/include/drm/DrmManagerClient.h index 782ebae..e6ba3c4 100644 --- a/include/drm/DrmManagerClient.h +++ b/include/drm/DrmManagerClient.h @@ -25,6 +25,7 @@ namespace android { class DrmInfo; class DrmRights; +class DrmMetadata; class DrmInfoEvent; class DrmInfoStatus; class DrmInfoRequest; @@ -204,6 +205,17 @@ public: DrmConstraints* getConstraints(const String8* path, const int action); /** + * Get metadata information associated with input content + * + * @param[in] path Path of the protected content + * @return DrmMetadata + * key-value pairs of metadata + * @note + * In case of error, return NULL + */ + DrmMetadata* getMetadata(const String8* path); + + /** * Check whether the given mimetype or path can be handled * * @param[in] path Path of the content needs to be handled |