MATExtPluginObserver Class Reference

class MATExtPluginObserver

The interface for AT Extension Plugin to interact with plugins.

Since
S60 v5.0

Member Functions Documentation

ATExtPluginClosed(CATExtPluginBase *)

TInt ATExtPluginClosed(CATExtPluginBase *aPlugin)[pure virtual]

Called by the destructor of CATExtPluginBase. A concrete service provider implementation should not touch this.

Parameters

CATExtPluginBase * aPluginPlugin from which the closing comes

GetSupportedCommands(CATExtPluginBase *, RPointerArray< HBufC8 > &)

TInt GetSupportedCommands(CATExtPluginBase *aPlugin,
RPointerArray< HBufC8 > &aCmds
)[pure virtual]

Called by concrete extension plugin to inform the array of supported commands should be returned

Since
S60 5.0

Parameters

CATExtPluginBase * aPluginPlugin from which the completion comes
RPointerArray< HBufC8 > & aCmds

HandleCommandCompleted(CATExtPluginBase *, TInt, TATExtensionReplyType)

TInt HandleCommandCompleted(CATExtPluginBase *aPlugin,
TIntaError,
TATExtensionReplyTypeaReplyType
)[pure virtual]

Called by Extension Plugins to inform ATEXT that a command handling has been completed or rejected.

Since
S60 v5.0

Parameters

CATExtPluginBase * aPluginPlugin from which the completion comes
TInt aErrorError code for completion
TATExtensionReplyType aReplyTypeReply type for the handled AT command

SendUnsolicitedResult(CATExtPluginBase *, const TDesC8 &)

TInt SendUnsolicitedResult(CATExtPluginBase *aPlugin,
const TDesC8 &aAT
)[pure virtual]

Called by extension plugins when there is an unsolicited result code should be sent to destination.

Each AT Extension Plugin is responsible to format result codes properly, e.g. in BT HFP case, the format should be <cr><lf><result code>=""><cr><lf>

Since
S60 v5.0

Parameters

CATExtPluginBase * aPluginPlugin from which the URC comes
const TDesC8 & aATthe unsolicited result code to be sent.