MDRMIndividualConstraintExtension Class Reference

class MDRMIndividualConstraintExtension

Defines an interface to extend DRM to support and validate non standard DRM individual constraints (i.e. constraints other than "IMSI:" or "WIM:")

Must be implemented within a DLL named KDRMIndividualConstraintExtensionDll which exports a non leaving factory method at ordinal 1 returning MDRMIndividualConstraintExtension* or NULL

The DRM engine will only load and use this DLL if it exists.

Since
Series60_3.1
Public Member Functions
void AppendConstraintsL ( RPointerArray < HBufC8 > &, RMobilePhone *)
void Release ()

Member Functions Documentation

AppendConstraintsL(RPointerArray< HBufC8 > &, RMobilePhone *)

void AppendConstraintsL ( RPointerArray < HBufC8 > & aConstraint,
RMobilePhone * aMobilePhone = NULL
) [pure virtual]

The method should be coded to append additional valid individual constraint strings to the supplied array.

Constraints must be of the format "<alpha string>:<digit string>"

Since
Series60_3.1

Parameters

RPointerArray < HBufC8 > & aConstraint array of individual constraint strings
RMobilePhone * aMobilePhone = NULL optional connected session to RMobilePhone, if not supplied then a new session will be created

Release()

void Release ( ) [pure virtual]
This method should be coded to Release any resources. CBase derived classes should call delete this.
Since
Series60_3.1