Location:
e32std.h
Link against: euser.lib
RNotifier
Supported from 5.0
A handle to a session with the extended notifier server that provides support for plug-in notifiers.
Prior to 6.0, the notifier server provides access to a simple built-in notifier and does not support plug-in notifiers.
|
Defined in RNotifier
:
CancelNotifier()
, Connect()
, InfoPrint()
, Notify()
, RNotifier()
, StartNotifier()
, StartNotifierAndGetResponse()
, UpdateNotifier()
Inherited from RHandleBase
:
Close()
,
Duplicate()
,
Handle()
,
SetHandle()
Inherited from RSessionBase
:
Attach()
,
CreateSession()
,
EAutoAttach
,
EExplicitAttach
,
Send()
,
SendReceive()
,
SetRetry()
,
Share()
,
TAttachMode
TInt Connect();
Connects to the extended notifier server, creating a session with that server.
The server is started , if it is not already running. Starting the server causes it to load the plug-in DLLs that define and implement notifiers.
Prior to 6.0, the notifier server provides access to a simple built-in notifier and does not support plug-in notifiers.
|
TInt StartNotifier(TUid aNotifierUid,const TDesC8& aBuffer,TDes8& aResponse);
Supported from 6.0
Requests the extended notifier server to start the plug-in notifier identified by the specified UID.
The request is synchronous; the call returns when the request is complete.
|
|
TInt CancelNotifier(TUid aNotifierUid);
Supported from 6.0
Requests the extended notifier server to cancel the plug-in notifier identified by the specified UID.
The request is synchronous; the call returns when the request is complete.
|
|
TInt UpdateNotifier(TUid aNotifierUid,const TDesC8& aBuffer,TDes8& aResponse);
Supported from 6.0
Requests the extended notifier server to update the plug-in notifier identified by the specified UID.
The request is synchronous; the call returns when the request is complete.
|
|
void StartNotifierAndGetResponse(TRequestStatus& aRs,TUid aNotifierUid,const TDesC8& aBuffer,TDes8& aResponse);
Supported from 6.0
Requests the extended notifier server to start the plug-in notifier identified by the specified UID.
This is an asynchronous request.
|
TInt InfoPrint(const TDesC& aDes);
Displays a single line message, synchronously.
This function does not use the plug-in notifier framework.
|
|
void Notify(const TDesC& aLine1,const TDesC& aLine2,const TDesC& aBut1,const TDesC& aBut2,TInt& aButtonVal,TRequestStatus& aStatus);
Displays a simple dialog box, asynchronously.
The descriptors aLine1
and aLine2
contain
the text to be displayed as the first and second lines respectively. The
descriptors aBut1
and aBut2
contain the characters to
be displayed on the first and second buttons respectively.
aButtonVal
is a reference to a TInt
passed
by the caller which is set when the notify request completes (when the user
selects one or other of the buttons). The value is set to 0, if the first
button is selected or 1, if the second button is selected.
aLine1
and aLine2
can be empty descriptors
(i.e. zero length); aBut1
and aBut2
must have at
least one character, but however many characters are passed, only the first
character is used.
Note:
The descriptors aLine1
, aLine2
,
aBut1
and aBut2
must remain in existence until the
notify request completes.
This function does not use the plug-in notifier framework.
|