The rights management object is only relevant for agents implementing a DRM scheme. Other agents leaves with KErrCANotSupported.
The manager object must be created using the CManager::NewL() function.
CRightsManager *rightsmanager; // Create a CManager object ... // create the rights manager object for a particular agent rightsManager = manager->CreateRightsManagerL(agent); // do rights management stuff
To manage the rights in a more comprehensive manner, the application must use the ContentAccess::CManager::DisplayManagementInfoL() function, where the agent can present its own comprehensive information.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.