ContentAccess::CAgentManager Class Reference

class ContentAccess::CAgentManager : public CBase

Defines the agent interface for manager operations.

The CAgentManager is not related to any particular content object but used to manage files and settings belonging to this agent

All operations performed by the agent manager should be implemented in a transactional manner by either completing or reverting to the state before the function was called.

Inherits from

  • ContentAccess::CAgentManager
Public Member Functions
TInt AgentSpecificCommand(TInt, const TDesC8 &, TDes8 &)
voidAgentSpecificCommand(TInt, const TDesC8 &, TDes8 &, TRequestStatus &)
TInt CancelNotifyStatusChange(const TDesC &, TRequestStatus &)
TInt CopyFile(const TDesC &, const TDesC &)
IMPORT_C TIntCopyFile(RFile &, const TDesC &)
TInt DeleteFile(const TDesC &)
voidDisplayInfoL(TDisplayInfo, const TVirtualPathPtr &)
IMPORT_C voidDisplayInfoL(TDisplayInfo, RFile &, const TDesC &)
voidDisplayManagementInfoL()
TInt GetAttribute(TInt, TInt &, const TVirtualPathPtr &)
IMPORT_C TIntGetAttribute(TInt, TInt &, RFile &, const TDesC &)
TInt GetAttributeSet(RAttributeSet &, const TVirtualPathPtr &)
IMPORT_C TIntGetAttributeSet(RAttributeSet &, RFile &, const TDesC &)
TInt GetDir(const TDesC &, TUint, TUint, CDir *&)
TInt GetDir(const TDesC &, TUint, TUint, CDir *&, CDir *&)
TInt GetDir(const TDesC &, const TUidType &, TUint, CDir *&)
TInt GetStringAttribute(TInt, TDes &, const TVirtualPathPtr &)
IMPORT_C TIntGetStringAttribute(TInt, TDes &, RFile &, const TDesC &)
TInt GetStringAttributeSet(RStringAttributeSet &, const TVirtualPathPtr &)
IMPORT_C TIntGetStringAttributeSet(RStringAttributeSet &, RFile &, const TDesC &)
TBool IsRecognizedL(const TDesC &, TContentShareMode)
TBool IsRecognizedL(RFile &)
TInt MkDir(const TDesC &)
TInt MkDirAll(const TDesC &)
voidNotifyStatusChange(const TDesC &, TEventMask, TRequestStatus &)
voidPrepareHTTPRequestHeaders(RStringPool &, RHTTPHeaders &)
TBool RecognizeFileL(const TDesC &, const TDesC8 &, TDes8 &, TDes8 &)
IMPORT_C TIntRenameDir(const TDesC &, const TDesC &)
TInt RenameFile(const TDesC &, const TDesC &)
TInt RmDir(const TDesC &)
TInt SetProperty(TAgentProperty, TInt)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()

Member Functions Documentation

AgentSpecificCommand(TInt, const TDesC8 &, TDes8 &)

TInt AgentSpecificCommand(TIntaCommand,
const TDesC8 &aInputBuffer,
TDes8 &aOutputBuffer
)[pure virtual]

Allows extended synchronous calls to the agent Objects are passed in and out using serialization

capability
DRM Access to extended DRM agent functions is not permitted for processes without DRM capability

Parameters

TInt aCommandThe agent defined command.
const TDesC8 & aInputBufferNon modifyable input data buffer.
TDes8 & aOutputBufferModifyable output buffer to hold the result of the command.

AgentSpecificCommand(TInt, const TDesC8 &, TDes8 &, TRequestStatus &)

voidAgentSpecificCommand(TIntaCommand,
const TDesC8 &aInputBuffer,
TDes8 &aOutputBuffer,
TRequestStatus &aStatus
)[pure virtual]

Allows extended asynchronous calls to the agent. Objects can be passed in and out using serialization. NB: No assumption should be made about the scope of the descriptor passed to aInputBuffer for asynchronous IPC.

capability
DRM Access to extended DRM agent functions is not permitted for processes without DRM capability

Parameters

TInt aCommandThe agent defined command.
const TDesC8 & aInputBufferNon modifyable input data buffer.
TDes8 & aOutputBufferModifyable output buffer to hold the result of the command.
TRequestStatus & aStatusAsynchronous request status. On completion this will contain one of the following error codes: KErrNone if the command was successful. KErrCANotSupported if the agent does not recognize the command. KErrPermissionDenied if the agent does not permit the client to execute this command. Otherwise one of the other CAF error codes defined in caferr.h or one of the other system-wide error codes for any other errors.

CancelNotifyStatusChange(const TDesC &, TRequestStatus &)

TInt CancelNotifyStatusChange(const TDesC &aURI,
TRequestStatus &aStatus
)[pure virtual]
Cancel a previous notification request
capability
DRM Access to DRM protected content is not permitted for processes without DRM capability. Access to unprotected content is unrestricted

Parameters

const TDesC & aURIThe URI supplied in the call to NotifyStatusChange().
TRequestStatus & aStatusThe TRequestStatus supplied in the call to NotifyStatusChange().

CopyFile(const TDesC &, const TDesC &)

TInt CopyFile(const TDesC &aSource,
const TDesC &aDestination
)[pure virtual]

Make a copy of the content file (eg to removable media) belonging to this agent

Access to the agents private directory is permitted at the agents discretion.

capability
DRM Copying DRM protected files is not permitted for processes without DRM capability. Copying unprotected files is permitted

Parameters

const TDesC & aSourceThe full pathname of the source file.
const TDesC & aDestinationThe full pathname of the destination file.

CopyFile(RFile &, const TDesC &)

IMPORT_C TIntCopyFile(RFile &aSource,
const TDesC &aDestination
)[virtual]

Make a copy of the content file (eg to removable media) belonging to this agent using a file handle

Access to the agents private directory is permitted at the agents discretion.

capability
DRM Copying DRM protected files is not permitted for processes without DRM capability. Copying unprotected files is permitted

Parameters

RFile & aSourceThe handle the source file.
const TDesC & aDestinationThe full pathname of the destination file.

DeleteFile(const TDesC &)

TInt DeleteFile(const TDesC &aFileName)[pure virtual]

Delete a file belonging to this agent

The agent implementation may delete rights that were associated with the content at the same time. If an agent does delete rights at the same time as the content it should display a confirmation dialog that makes it clear to the user the rights they paid for will be also deleted.

Execution will be blocked until any dialog displayed is complete. Applications can request to disable the agents user interface using the SetProperty() command

Access to the agents private directory is permitted at the agents discretion.

capability
DRM Deleting DRM protected content is not permitted for processes without DRM capability.

Parameters

const TDesC & aFileNameThe full pathname of the file to delete.

DisplayInfoL(TDisplayInfo, const TVirtualPathPtr &)

voidDisplayInfoL(TDisplayInfoaInfo,
const TVirtualPathPtr &aVirtualPath
)[pure virtual]

View information associated with a single content object

This call blocks execution and only returns once the display is dismissed by the user.

leave
KErrCANotSupported if agent cannot display the requested information.
leave
... One of the other CAF error codes defined in caferr.h or one of the system-wide error codes for any other errors.
capability
DRM Access to DRM protected content is not permitted for processes without DRM capability. Access to unprotected content is unrestricted.

Parameters

TDisplayInfo aInfoThe information to display.
const TVirtualPathPtr & aVirtualPathThe content object.

DisplayInfoL(TDisplayInfo, RFile &, const TDesC &)

IMPORT_C voidDisplayInfoL(TDisplayInfoaInfo,
RFile &aFile,
const TDesC &aUniqueId
)[virtual]

View information associated with a single content object in a file specified by file handle. Can be used when the source file is in the client's private directory.

This call blocks execution and only returns once the display is dismissed by the user.

leave
KErrCANotSupported if the feature not supported or if agent cannot display the requested information.
leave
... One of the other CAF error codes defined in caferr.h or one of the system-wide error codes for any other errors.
capability
DRM Access to DRM protected content is not permitted for processes without DRM capability. Access to unprotected content is unrestricted.

Parameters

TDisplayInfo aInfoThe information to display.
RFile & aFileThe file handle for the file containing the content object.
const TDesC & aUniqueIdThe unique id of the content object.

DisplayManagementInfoL()

voidDisplayManagementInfoL()[pure virtual]

Allow the agent to display management information for users to manage any settings or other information stored by the agent

The scope of this information is left to the agent implementation but it is expected that a DRM agent will display the state of all DRM rights objects (pending, available, expired, orphaned) and allow users to delete rights that are no longer required.

leave
KErrCANotSupported If the agent does support the display of management information.
capability
DRM Agents implementing DRM may not display their management dialog to processes without DRM capability

GetAttribute(TInt, TInt &, const TVirtualPathPtr &)

TInt GetAttribute(TIntaAttribute,
TInt &aValue,
const TVirtualPathPtr &aVirtualPath
)[pure virtual]

Get an attribute from a content object

capability
DRM Access to DRM protected content is not permitted for processes without DRM capability. Access to unprotected content is unrestricted.

Parameters

TInt aAttributeThe attribute to retrieve, from ContentAccess::TAttribute.
TInt & aValueUsed to return the value of the attribute.
const TVirtualPathPtr & aVirtualPathThe content object whose attributes are to be queried.

GetAttribute(TInt, TInt &, RFile &, const TDesC &)

IMPORT_C TIntGetAttribute(TIntaAttribute,
TInt &aValue,
RFile &aFile,
const TDesC &aUniqueId
)[virtual]

Get a content's attribute from a file specified by file handle. Can be used when the source file is in the client's private directory.

capability
DRM Access to DRM protected content is not permitted for processes without DRM capability. Access to unprotected content is unrestricted.

Parameters

TInt aAttributeThe attribute to retrieve, from ContentAccess::TAttribute.
TInt & aValueUsed to return the value of the attribute.
RFile & aFileThe file handle for the file containing the content object.
const TDesC & aUniqueIdThe unique id of the content object.

GetAttributeSet(RAttributeSet &, const TVirtualPathPtr &)

TInt GetAttributeSet(RAttributeSet &aAttributeSet,
const TVirtualPathPtr &aVirtualPath
)[pure virtual]

Get a set of attributes from a content object

capability
DRM Access to DRM protected content is not permitted for processes without DRM capability. Access to unprotected content is unrestricted.

Parameters

RAttributeSet & aAttributeSetThe set of attributes to query and update.
const TVirtualPathPtr & aVirtualPathThe content object to retrieve attributes from.

GetAttributeSet(RAttributeSet &, RFile &, const TDesC &)

IMPORT_C TIntGetAttributeSet(RAttributeSet &aAttributeSet,
RFile &aFile,
const TDesC &aUniqueId
)[virtual]

Get a content's set of attributes from a file specified by file handle. Can be used when the source file is in the client's private directory.

capability
DRM Access to DRM protected content is not permitted for processes without DRM capability. Access to unprotected content is unrestricted.

Parameters

RAttributeSet & aAttributeSetThe set of attributes to query and update.
RFile & aFileThe file handle for the file containing the content object.
const TDesC & aUniqueIdThe unique id of the content object.

GetDir(const TDesC &, TUint, TUint, CDir *&)

TInt GetDir(const TDesC &aName,
TUintaEntryAttMask,
TUintaEntrySortKey,
CDir *&aEntryList
)const [pure virtual]

Gets a filtered list of a directory's contents.

The bitmask determines which file and directory entry types should be listed. The sort key determines the order in which they are listed.

Notes:
  1. If sorting by UID (as indicated when the ESortByUid bit is OR'ed with the sort key), then UID information will be included in the listing whether or not KEntryAttAllowUid is specified in aEntryAttMask.

  2. The function sets aFileList to NULL, and then allocates memory for it before appending entries to the list. Therefore, aFileList should have no memory allocated to it before this function is called, otherwise this memory will become orphaned.

  3. The caller of this function is responsible for deleting aFileList after the function has returned.

This function can be used to list the contents of the agent's private directory. Access to the agents private directory is permitted at the agents discretion.

Agents can just return KErrCANotSupported if they do not wish to publish their private directory. Alternatively they can just populate the CDir object with the entries they wish to show.

capability
DRM Required when attempting to access an agents private directory

Parameters

const TDesC & aNameThe name of the directory for which a listing is required. Wildcards may be used to specify particular files.
TUint aEntryAttMaskBitmask indicating the attributes of interest. Only files and directories whose attributes match those specified here can be included in the listing. For more information, see KEntryAttMatchMask and the other directory entry details. Also see KEntryAttNormal and the other file or directory attributes
TUint aEntrySortKeyThe sort key. This is a set of flags indicating the order in which the entries are to be sorted. These flags are defined by TEntryKey.
CDir *& aEntryListOn return contains a filtered list of directory and file entries.

GetDir(const TDesC &, TUint, TUint, CDir *&, CDir *&)

TInt GetDir(const TDesC &aName,
TUintaEntryAttMask,
TUintaEntrySortKey,
CDir *&aEntryList,
CDir *&aDirList
)const [pure virtual]

Gets a filtered list of the directory and file entries contained in a directory and a list of the directory entries only

The bitmask determines which file and directory entry types should be listed in aFileList. The contents of the second list, aDirList are not affected by the bitmask; it returns all directory entries contained in directory aName. The sort key determines the order in which both lists are sorted.

Notes:
  1. If sorting by UID (as indicated when the ESortByUid bit is OR'ed with the sort key), then UID information will be included in the listing whether or not KEntryAttAllowUid is specified in aEntryAttMask.

  2. The function sets both aFileList and aDirList to NULL, and then allocates memory to them before appending entries to the lists. Therefore, aFileList and aDirList should have no memory allocated to them before this function is called, otherwise the allocated memory will become orphaned.

  3. The caller of this function is responsible for deleting aFileList and aDirList after the function has returned.

This function can be used to list the contents of the agent's private directory. Access to the agents private directory is permitted at the agents discretion.

Agents can just return KErrCANotSupported if they do not wish to publish their private directory. Alternatively they can just populate the CDir object with the entries they wish to show.

capability
DRM Required when attempting to access an agents private directory

Parameters

const TDesC & aNameThe name of the directory for which a listing is required. Wildcards may be used to specify particular files.
TUint aEntryAttMaskBitmask indicating the attributes of interest. Only files and directories whose attributes match those specified here can be included in aFileList. aDirList is unaffected by this mask. For more information, see KEntryAttMatchMask and the other directory entry details. Also see KEntryAttNormal and the other file or directory attributes.
TUint aEntrySortKeyThe sort key. This is a set of flags indicating the order in which the entries in both lists are to be sorted. These flags are defined by TEntryKey.
CDir *& aEntryListOn return contains a filtered list of directory and file entries.
CDir *& aDirListOn return contains a filtered list of directory entries only.

GetDir(const TDesC &, const TUidType &, TUint, CDir *&)

TInt GetDir(const TDesC &aName,
const TUidType &aEntryUid,
TUintaEntrySortKey,
CDir *&aFileList
)const [pure virtual]

Gets a filtered list of a directory's contents by UID

The aUidType parameter determines which file entry types should be listed. The sort key determines the order in which they are listed.

Notes:
  1. The function sets aFileList to NULL, and then allocates memory for it before appending entries to the list. Therefore, aFileList should have no memory allocated to it before this function is called, otherwise this memory will become orphaned.

  2. The caller of this function is responsible for deleting aFileList after the function has returned.

This function can be used to list the contents of the agent's private directory. Access to the agents private directory is permitted at the agents discretion.

Agents can just return KErrCANotSupported if they do not wish to publish their private directory. Alternatively they can just populate the CDir object with the entries they wish to show.

capability
DRM Required when attempting to access an agents private directory

Parameters

const TDesC & aNameThe name of the directory for which a listing is required. Wildcards may be used to specify particular files.
const TUidType & aEntryUidOnly those files whose UIDs match those specified within this UID type will be included in the file list. Any, or all, of the three UIDs within the UID type may be omitted. Any UID which is omitted acts in a similar manner to a wildcard character, matching to all UIDs.
TUint aEntrySortKeyThe sort key. This is a set of flags indicating the order in which the entries are to be sorted. These flags are defined by TEntryKey.
CDir *& aFileListOn return contains a filtered list of directory and file entries.

GetStringAttribute(TInt, TDes &, const TVirtualPathPtr &)

TInt GetStringAttribute(TIntaAttribute,
TDes &aValue,
const TVirtualPathPtr &aVirtualPath
)[pure virtual]

Get text string attributes or meta-data from the file

capability
DRM Access to DRM protected content is not permitted for processes without DRM capability. Access to unprotected content is unrestricted.

Parameters

TInt aAttributeThe attribute to retrieve, from ContentAccess::TStringAttribute.
TDes & aValueUsed to return the value of the attribute.
const TVirtualPathPtr & aVirtualPathThe content object whose attributes are to be retrieved.

GetStringAttribute(TInt, TDes &, RFile &, const TDesC &)

IMPORT_C TIntGetStringAttribute(TIntaAttribute,
TDes &aValue,
RFile &aFile,
const TDesC &aUniqueId
)[virtual]

Get a content's text string attribute from a file specified by file handle. Can be used when the source file is in the client's private directory.

capability
DRM Access to DRM protected content is not permitted for processes without DRM capability. Access to unprotected content is unrestricted.

Parameters

TInt aAttributeThe attribute to retrieve, from ContentAccess::TAttribute.
TDes & aValueUsed to return the value of the attribute.
RFile & aFileThe file handle for the file containing the content object.
const TDesC & aUniqueIdThe unique id of the content object whose attributes are to be retrieved.

GetStringAttributeSet(RStringAttributeSet &, const TVirtualPathPtr &)

TInt GetStringAttributeSet(RStringAttributeSet &aStringAttributeSet,
const TVirtualPathPtr &aVirtualPath
)[pure virtual]

Used to obtain a set of string attributes

capability
DRM Access to DRM protected content is not permitted for processes without DRM capability. Access to unprotected content is unrestricted.

Parameters

RStringAttributeSet & aStringAttributeSetThe set of attributes to query and update.
const TVirtualPathPtr & aVirtualPathThe content object whose attributes are to be retrieved.

GetStringAttributeSet(RStringAttributeSet &, RFile &, const TDesC &)

IMPORT_C TIntGetStringAttributeSet(RStringAttributeSet &aStringAttributeSet,
RFile &aFile,
const TDesC &aUniqueId
)[virtual]

Get a content's set of string attributes from a file specified by file handle. Can be used when the source file is in the client's private directory.

capability
DRM Access to DRM protected content is not permitted for processes without DRM capability. Access to unprotected content is unrestricted.

Parameters

RStringAttributeSet & aStringAttributeSetThe set of attributes to query and update.
RFile & aFileThe file handle for the file containing the content object.
const TDesC & aUniqueIdThe unique id of the content object whose attributes are to be retrieved

IsRecognizedL(const TDesC &, TContentShareMode)

TBool IsRecognizedL(const TDesC &aURI,
TContentShareModeaShareMode
)const [pure virtual]

Identifies whether or not the file at the given URI is to be handled by this agent.

The agent should perform the mimimum possible processing to make the recognition process as fast as possible. It should avoid opening the file whenever possible.

The agent should leave only if a temporary or permanent condition prevents it from knowing whether it can detect the content's type.

Parameters

const TDesC & aURILocation of the file to be examined.
TContentShareMode aShareModeThe share mode to use if the agent opens a file.

IsRecognizedL(RFile &)

TBool IsRecognizedL(RFile &aFile)const [pure virtual]

Identifies whether or not the file is handled by this agent.

The agent should look at the name of the file first to try and avoid the need to read from the file.

The agent should leave only if a temporary or permanent condition prevents it from knowing whether it can detect the content's type.

Parameters

RFile & aFileAn open file handle.

MkDir(const TDesC &)

TInt MkDir(const TDesC &aPath)[pure virtual]

Create a directory

This function can be used to create a directory within in the agent's private directory. Access to the agents private directory is permitted at the agents discretion.

capability
DRM Required when attempting to access an agents private directory

Parameters

const TDesC & aPathThe full pathname of the directory to create.

MkDirAll(const TDesC &)

TInt MkDirAll(const TDesC &aPath)[pure virtual]

Create all directories in the given path if they do not exist

This function can be used to create directories within in the agent's private directory. Access to the agents private directory is permitted at the agents discretion.

capability
DRM Required when attempting to access an agents private directory

Parameters

const TDesC & aPathThe full pathname of the directory to create.

NotifyStatusChange(const TDesC &, TEventMask, TRequestStatus &)

voidNotifyStatusChange(const TDesC &aURI,
TEventMaskaMask,
TRequestStatus &aStatus
)[pure virtual]

Notify the caller when the status of a DRM protected content object changes. NB: No assumption should be made about the scope of the descriptor passed to aURI for asynchronous IPC.

capability
DRM Deleting DRM protected content is not permitted for processes without DRM capability.

Parameters

const TDesC & aURIThe location of the file.
TEventMask aMaskBitmask of events the caller is interested in.
TRequestStatus & aStatusThe TRequestStatus object to complete if the event occurs, or KErrCANotSupported if the agent does not support asynchronous notifications.

PrepareHTTPRequestHeaders(RStringPool &, RHTTPHeaders &)

voidPrepareHTTPRequestHeaders(RStringPool &aStringPool,
RHTTPHeaders &aRequestHeaders
)const [pure virtual]

Prepare the HTTP request headers required to download files that may be required for this agent.

Parameters

RStringPool & aStringPoolThe string pool used by the HTTP session.
RHTTPHeaders & aRequestHeadersThe agent will add any required headers to this object.

RecognizeFileL(const TDesC &, const TDesC8 &, TDes8 &, TDes8 &)

TBool RecognizeFileL(const TDesC &aFileName,
const TDesC8 &aBuffer,
TDes8 &aFileMimeType,
TDes8 &aContentMimeType
)const [pure virtual]

Determines whether the file is recognized by this agent. If it is the agent will fill in the file mime type and content mime type.

The agent should attempt to recognized the file in an efficient manner It should avoid opening the file to provide the best performance.

The agent should leave only if a temporary or permanent condition prevents it from detecting content's type.

The agent SHOULD NOT perform any API policing on this API since it will be called from within the Apparc server's process.

If a file is recognized, the file mime type should always be set to the correct value. For the content mime type there are three special cases:

  • If the file needs to be imported through the Supplier API before it can be used then the agent should leave the aContentMimeType parameter blank (zero length).

  • If the file has no embedded content, eg an image/jpeg (.jpg) file the agent should leave the aContentMimeType parameter blank (zero length).

  • If more than one content object is contained within the file, the agent will set aContentMimeType to "application/x-caf" indicating it is an archive that can be navigated by CAF regardless of the actual file format.

Parameters

const TDesC & aFileNameThe name of the file to recognize. The name is examined, not the file itself.
const TDesC8 & aBufferBuffer containing bytes from the start of the file.
TDes8 & aFileMimeTypeUsed to return the mime type of the file to the caller.
TDes8 & aContentMimeTypeUsed to return the mime type of the content embedded within the file to the caller. This field should be zero length if there is no embedded content.

RenameDir(const TDesC &, const TDesC &)

IMPORT_C TIntRenameDir(const TDesC &aOldName,
const TDesC &aNewName
)[virtual]

Rename a directory

This function can be used to rename a directory from within the agent's private directory. Access to the agents private directory is permitted at the agents discretion.

capability
DRM Required when attempting to access an agents private directory

Parameters

const TDesC & aOldNameThe existing pathname of the directory to rename.
const TDesC & aNewNameThe new pathname of the directory.

RenameFile(const TDesC &, const TDesC &)

TInt RenameFile(const TDesC &aSource,
const TDesC &aDestination
)[pure virtual]

Rename or move the content file (eg to removable media) belonging to this agent

Access to the agent private directories is permitted at the agents discretion.

capability
DRM Moving DRM protected files is not permitted for processes without DRM capability. Moving unprotected files is permitted

Parameters

const TDesC & aSourceThe full pathname of the source file.
const TDesC & aDestinationThe full pathname of the destination file.

RmDir(const TDesC &)

TInt RmDir(const TDesC &aPath)[pure virtual]

Remove a directory

This function can be used to remove a directory from within the agent's private directory. Access to the agents private directory is permitted at the agents discretion.

capability
DRM Required when attempting to access an agents private directory

Parameters

const TDesC & aPathThe full pathname of the directory to remove.

SetProperty(TAgentProperty, TInt)

TInt SetProperty(TAgentPropertyaProperty,
TIntaValue
)[pure virtual]

Allows an application to request the modification of a property within the agent. The agent may or may not permit the property to be changed

capability
DRM Access to DRM protected content is not permitted for processes without DRM capability. Access to unprotected content is unrestricted

Parameters

TAgentProperty aPropertyThe property to set.
TInt aValueThe value of the property.