DRM::MDrmErrorHandling Class Reference
class DRM::MDrmErrorHandling
|
Utility class for DRM related UI
By using this class an application can resolve situation where there is no valid rights for the content, check status of rights and display an embedded rights details view.
Public Member Functions
|
IMPORT_C
TInt
|
HandleErrorAsyncL
(
RFile
&,
ContentAccess::TIntent
,
TInt
,
MDrmHandleErrorObserver
&)
|
IMPORT_C
TInt
|
HandleErrorAsyncL
(
ContentAccess::CData
&,
ContentAccess::TIntent
,
TInt
,
MDrmHandleErrorObserver
&)
|
IMPORT_C void
|
HandleErrorL
(
RFile
&,
ContentAccess::TIntent
,
TInt
,
MDrmHandleErrorObserver
*)
|
IMPORT_C void
|
HandleErrorL
(
ContentAccess::CData
&,
ContentAccess::TIntent
,
TInt
,
MDrmHandleErrorObserver
*)
|
Member Functions Documentation
HandleErrorAsyncL(RFile &, ContentAccess::TIntent, TInt, MDrmHandleErrorObserver &)
Handles DRM error situations related to invalid rights. This method displays appropriate notes, which observer can override, to the user and acquires new rights if needed. Asynchronous version, all errors are signalled using request status.
Parameters
RFile
& aFile
|
file for which the error happened
|
ContentAccess::TIntent
aIntent
|
the CAF intent which was used to recieve the error
|
TInt
aError
|
error code
|
MDrmHandleErrorObserver
& aObserver
|
reference to observer
|
HandleErrorAsyncL(ContentAccess::CData &, ContentAccess::TIntent, TInt, MDrmHandleErrorObserver &)
Handles DRM error situations related to invalid rights. This method displays appropriate notes, which observer can override, to the user and acquires new rights if needed. Asynchronous version, all errors are signalled using request status.
HandleErrorL(RFile &, ContentAccess::TIntent, TInt, MDrmHandleErrorObserver *)
Handles DRM error situations related to invalid rights. This method displays appropriate notes, which observer can override, to the user and acquires new rights if needed. Synchronous version, leaves in case of error.
Parameters
RFile
& aFile
|
file for which the error happened
|
ContentAccess::TIntent
aIntent
|
the CAF intent which was used to recieve the error
|
TInt
aError
|
error code
|
MDrmHandleErrorObserver
* aObserver
|
pointer to observer, NULL if no observer
|
HandleErrorL(ContentAccess::CData &, ContentAccess::TIntent, TInt, MDrmHandleErrorObserver *)
Handles DRM error situations related to invalid rights. This method displays appropriate notes, which observer can override, to the user and acquires new rights if needed. Synchronous version, leaves in case of error.
Parameters
ContentAccess::CData
& aFile
|
content for which the error happened
|
ContentAccess::TIntent
aIntent
|
the CAF intent which was used to recieve the error
|
TInt
aError
|
error code
|
MDrmHandleErrorObserver
* aObserver
|
pointer to observer, NULL if no observer
|
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.