MAiwNotifyCallback Class Reference

#include <mw/AiwCommon.h>

Link against: ServiceHandler.lib

class MAiwNotifyCallback
Public Member Functions
pure virtual TInt HandleNotifyL(TInt, TInt, CAiwGenericParamList &, const CAiwGenericParamList &)

Detailed Description

Abstract callback interface to handle callbacks or events from providers. This callback is needed when
  • Consumer wants to pre-check output parameters before returning synchronous Handle*Cmd.

  • Asynchronous Handle*Cmd is used.

  • An asynchronous event occurs in the system.

Since
Series 60 2.6

Member Function Documentation

HandleNotifyL ( TInt, TInt, CAiwGenericParamList &, const CAiwGenericParamList & )

TInt HandleNotifyL(TIntaCmdId,
TIntaEventId,
CAiwGenericParamList &aEventParamList,
const CAiwGenericParamList &aInParamList
)[pure virtual]

Handles notifications caused by an asynchronous Execute*CmdL call or an event.

ParameterDescription
aCmdIdThe service command associated to the event.
aEventIdOccured event, see AiwCommon.hrh.
aEventParamListEvent parameters, if any, as defined per each event.
aInParamListInput parameters, if any, given in the related HandleCommmandL.

Returns: Error code for the callback.