Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QDrmContentLicense class provides an interface for DRM agents to monitor the consumption of DRM content. More...
#include <QDrmContentLicense>
Inherits QObject.
The QDrmContentLicense class provides an interface for DRM agents to monitor the consumption of DRM content.
A DRM content license provides the interface through which a consuming application will notify a DRM agent of when consumption of an item of content begins, ends, and pauses.
Before opening a DRM protected file an application will request an instance of QDrmContentLicense from a DRM agent. If a license is sucessfully granted the application will attempt to open the file and begin making calls to QDrmContentLicense::renderStateChanged() reflecting the consumption of the content. If the content's rights expire while the content is being rendered the content license will emit the QDrmContentLicense::rightsExpired() signal.
Applications should not request a content license directly, instead licenses should be requested using QDrmContent.
See also QDrmContent and QDrmContentPlugin.
Constructs a ContentLicense object for an item of DRM protected content.
Destroys a QDrmContentLicense object. If the paired monitor is still consuming the content it is sent a message to release the content.
Returns the content the license has been granted for.
Returns the usage permission the license has been granted for.
Returns the current render state of the content the license has been granted for.
See also renderStateChanged().
Notifies the drm agent that the render state of content has changed to state and the rights should be updated accordingly.
See also renderState().
Signals that the license to render content with the given permission has expired.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |