RDrmHelperClient Class Reference

class RDrmHelperClient : public RSessionBase

This class provides the client-side interface to the server session

Since
S60 4.0

Inherits from

Public Member Functions
RDrmHelperClient ()
TInt Connect ()
TInt IndicateIdle ()
TInt RemoveAutomated (const TDesC8 &, const TDrmAutomatedType, const ContentAccess::TIntent , const TDrmAutomatedServiceType)
TInt RemoveAutomatedAll (const TDesC8 &, const TDrmAutomatedType, const ContentAccess::TIntent , const TDrmAutomatedServiceType)
TInt SetAutomated (const TDesC8 &, const TDrmAutomatedType, const ContentAccess::TIntent , const TDrmAutomatedServiceType)
TVersion Version ()
Private Member Functions
TInt CreateServerProcess ()
TInt IsAutomated (const TDesC8 &, const TDrmAutomatedType, const ContentAccess::TIntent , const TDrmAutomatedServiceType, TBool &)
TInt StartServer ()
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::Close()
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Inherited Attributes
RHandleBase::iHandle

Constructor & Destructor Documentation

RDrmHelperClient()

RDrmHelperClient ( )

C++ default constructor.

Member Functions Documentation

Connect()

TInt Connect ( )

Connects to server.

CreateServerProcess()

TInt CreateServerProcess ( ) [private]

IndicateIdle()

TInt IndicateIdle ( ) const

Indicate that idle-screen has been activated.

IsAutomated(const TDesC8 &, const TDrmAutomatedType, const ContentAccess::TIntent, const TDrmAutomatedServiceType, TBool &)

TInt IsAutomated ( const TDesC8 & aUri,
const TDrmAutomatedType aAutomatedType,
const ContentAccess::TIntent aIntent,
const TDrmAutomatedServiceType aServiceType,
TBool & aAutomated
) const [private]

Has given content been registered as automated content. ContentAccess::TIntent

Parameters

const TDesC8 & aUri content URI of the content
const TDrmAutomatedType aAutomatedType
const ContentAccess::TIntent aIntent
const TDrmAutomatedServiceType aServiceType
TBool & aAutomated (out) ETrue if registered as automated.

RemoveAutomated(const TDesC8 &, const TDrmAutomatedType, const ContentAccess::TIntent, const TDrmAutomatedServiceType)

TInt RemoveAutomated ( const TDesC8 & aUri,
const TDrmAutomatedType aAutomatedType,
const ContentAccess::TIntent aIntent,
const TDrmAutomatedServiceType aServiceType
) const

Unregister the given content. ContentAccess::TIntent

Parameters

const TDesC8 & aUri
const TDrmAutomatedType aAutomatedType
const ContentAccess::TIntent aIntent
const TDrmAutomatedServiceType aServiceType

RemoveAutomatedAll(const TDesC8 &, const TDrmAutomatedType, const ContentAccess::TIntent, const TDrmAutomatedServiceType)

TInt RemoveAutomatedAll ( const TDesC8 & aUri,
const TDrmAutomatedType aAutomatedType,
const ContentAccess::TIntent aIntent,
const TDrmAutomatedServiceType aServiceType
) const

Unregister all instances of the given content. ContentAccess::TIntent

Parameters

const TDesC8 & aUri
const TDrmAutomatedType aAutomatedType
const ContentAccess::TIntent aIntent
const TDrmAutomatedServiceType aServiceType

SetAutomated(const TDesC8 &, const TDrmAutomatedType, const ContentAccess::TIntent, const TDrmAutomatedServiceType)

TInt SetAutomated ( const TDesC8 & aUri,
const TDrmAutomatedType aAutomatedType,
const ContentAccess::TIntent aIntent,
const TDrmAutomatedServiceType aServiceType
) const

Register the given content uri as an automated content. ContentAccess::TIntent

Parameters

const TDesC8 & aUri
const TDrmAutomatedType aAutomatedType
const ContentAccess::TIntent aIntent
const TDrmAutomatedServiceType aServiceType

StartServer()

TInt StartServer ( ) [private]

Version()

TVersion Version ( ) const

Gets the version number