RDRMHelper Class Reference

#include <mw/rdrmhelper.h>

Link against: DRMHelper.lib

class RDRMHelper : public RSessionBase

Inherits from

  • RDRMHelper
    Public Member Functions
    RDRMHelper()
    TInt Connect()
    TInt IndicateIdle()
    TInt IsAutomated(const TDesC8 &, TInt, TInt, TBool &, TInt &)
    TInt RemoveAutomated(const TDesC8 &, TBool, TInt, TInt)
    TInt RemoveAutomatedAll(const TDesC8 &, TBool, TInt, TInt)
    TInt SetAutomated(const TDesC8 &, TBool, TInt, TInt)
    TVersion Version()
    Inherited Attributes
    RHandleBase::iHandle
    Inherited Enumerations
    RHandleBase:TAttributes
    RSessionBase:TAttachMode
    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()

    Detailed Description

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

    Since
    Series 60 2.6

    Constructor & Destructor Documentation

    RDRMHelper ( )

    RDRMHelper()

    C++ default constructor.

    Member Function Documentation

    Connect ( )

    TInt Connect()

    Connects to server.

    Returns: System-wide error code

    IndicateIdle ( )

    TInt IndicateIdle()const

    Indicate that idle-screen has been activated.

    Returns: System-wide error code

    IsAutomated ( const TDesC8 &, TInt, TInt, TBool &, TInt & )

    TInt IsAutomated(const TDesC8 &aUri,
    TIntaAutomatedType,
    TIntaIntent,
    TBool &aAutomated,
    TInt &aType
    )const

    Has given content been registered as automated content.

    ParameterDescription
    aUricontent URI of the content
    aAutomated(out) ETrue if registered as automated.
    aType(out) Tells whether content has been registered as active or passive.

    Returns: System-wide error code

    RemoveAutomated ( const TDesC8 &, TBool, TInt, TInt )

    TInt RemoveAutomated(const TDesC8 &aUri,
    TBoolaActive,
    TIntaAutomatedType,
    TIntaIntent
    )const

    Unregister the given content.

    Returns: System-wide error code

    RemoveAutomatedAll ( const TDesC8 &, TBool, TInt, TInt )

    TInt RemoveAutomatedAll(const TDesC8 &aUri,
    TBoolaActive,
    TIntaAutomatedType,
    TIntaIntent
    )const

    Unregister all instances of the given content.

    Returns: System-wide error code

    SetAutomated ( const TDesC8 &, TBool, TInt, TInt )

    TInt SetAutomated(const TDesC8 &aUri,
    TBoolaActive,
    TIntaAutomatedType,
    TIntaIntent
    )const

    Register the given content uri as an automated content.

    Returns: System-wide error code

    Version ( )

    TVersion Version()const

    Gets the version number

    Returns: version number