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.

Since
S60 v5.0

Member Functions Documentation

HandleErrorAsyncL(RFile &, ContentAccess::TIntent, TInt, MDrmHandleErrorObserver &)

IMPORT_C TIntHandleErrorAsyncL(RFile &aFile,
ContentAccess::TIntentaIntent,
TIntaError,
MDrmHandleErrorObserver &aObserver
)[pure virtual]

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.

Since
S60 v5.0
MDrmHandleErrorObserver ContentAccess::TIntent

Parameters

RFile & aFilefile for which the error happened
ContentAccess::TIntent aIntentthe CAF intent which was used to recieve the error
TInt aErrorerror code
MDrmHandleErrorObserver & aObserverreference to observer

HandleErrorAsyncL(ContentAccess::CData &, ContentAccess::TIntent, TInt, MDrmHandleErrorObserver &)

IMPORT_C TIntHandleErrorAsyncL(ContentAccess::CData &aFile,
ContentAccess::TIntentaIntent,
TIntaError,
MDrmHandleErrorObserver &aObserver
)[pure virtual]

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.

Since
S60 v5.0
MDrmHandleErrorObserver ContentAccess::TIntent

Parameters

ContentAccess::CData & aFilecontent for which the error happened
ContentAccess::TIntent aIntentthe CAF intent which was used to recieve the error
TInt aErrorerror code
MDrmHandleErrorObserver & aObserverreference to observer

HandleErrorL(RFile &, ContentAccess::TIntent, TInt, MDrmHandleErrorObserver *)

IMPORT_C voidHandleErrorL(RFile &aFile,
ContentAccess::TIntentaIntent,
TIntaError,
MDrmHandleErrorObserver *aObserver
)[pure virtual]

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.

Since
S60 v5.0
leave
KErrArgument File is not DRM protected.
MDrmHandleErrorObserver ContentAccess::TIntent

Parameters

RFile & aFilefile for which the error happened
ContentAccess::TIntent aIntentthe CAF intent which was used to recieve the error
TInt aErrorerror code
MDrmHandleErrorObserver * aObserverpointer to observer, NULL if no observer

HandleErrorL(ContentAccess::CData &, ContentAccess::TIntent, TInt, MDrmHandleErrorObserver *)

IMPORT_C voidHandleErrorL(ContentAccess::CData &aFile,
ContentAccess::TIntentaIntent,
TIntaError,
MDrmHandleErrorObserver *aObserver
)[pure virtual]

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.

Since
S60 v5.0
leave
KErrArgument File is not DRM protected.
MDrmHandleErrorObserver ContentAccess::TIntent

Parameters

ContentAccess::CData & aFilecontent for which the error happened
ContentAccess::TIntent aIntentthe CAF intent which was used to recieve the error
TInt aErrorerror code
MDrmHandleErrorObserver * aObserverpointer to observer, NULL if no observer