Location:
e32std.h
Link against: euser.lib
class RNotifier : public RSessionBase;
A handle to a session with the extended notifier server that provides support for plug-in notifiers.
The interface allows engines or other low level components to communicate with the UI.
RHandleBase
- A handle to an object
RSessionBase
- Client-side handle to a session with a server
RNotifier
- A handle to a session with the extended notifier server that provides support for plug-in notifiers
Defined in RNotifier
:
CancelNotifier()
, Close()
, Connect()
, Notify()
, NotifyCancel()
, RNotifier()
, StartNotifier()
, StartNotifier()
, StartNotifier()
, StartNotifierAndGetResponse()
, UpdateNotifier()
, UpdateNotifierAndGetResponse()
Inherited from RHandleBase
:
Attributes()
,
Duplicate()
,
FullName()
,
Handle()
,
HandleInfo()
,
Name()
,
SetHandle()
,
SetHandleNC()
,
iHandle
Inherited from RSessionBase
:
CreateSession()
,
EAutoAttach
,
EExplicitAttach
,
Open()
,
Send()
,
SendReceive()
,
SetReturnedHandle()
,
ShareAuto()
,
ShareProtected()
,
TAttachMode
IMPORT_C TInt Connect();
Connects to the extended notifier server, creating a session with that server. Note: Notifier server is started during window server start-up sequence.
The function must be called before any other function.
|
IMPORT_C TInt StartNotifier(TUid aNotifierUid, const TDesC8 &aBuffer);
Requests the extended notifier server to start the notifier identified by the specified UID.
The request is synchronous; the call returns when the request is complete.
The notifier may not be started immediately if a higher priority notifier is already active. In this case, the notifier is queued until it has the highest priority outstanding request for the channel(s) it operates on.
|
|
IMPORT_C TInt StartNotifier(TUid aNotifierUid, const TDesC8 &aBuffer, TDes8 &aResponse);
Requests the extended notifier server to start the notifier identified by the specified UID.
The request is synchronous; the call returns when the request is complete.
The notifier may not start immediately if a higher priority notifier is already active. In this case, the notifier is queued until it has the highest priority outstanding request for the channel(s) it operates on. This can also cause unexpected behaviour: the function can return before the notifier has been started with the added consequence that no response data is written.
For this reason, this function has been deprecated. Instead, use RNotifier::StartNotifierAndGetResponse()
, or if there is no need to wait for a response, use the two argument overload of RNotifier::StartNotifier()
.
|
|
IMPORT_C TInt StartNotifier(TUid aNotifierDllUid, TUid aNotifierUid, const TDesC8 &aBuffer, TDes8 &aResponse);
|
|
IMPORT_C TInt CancelNotifier(TUid aNotifierUid);
Requests the extended notifier server to cancel the notifier identified by the specified UID.
The request is synchronous; the call returns when the request is complete.
Any notifier that was queued pending the completion of aNotifierUid will be automatically started.
|
|
IMPORT_C TInt UpdateNotifier(TUid aNotifierUid, const TDesC8 &aBuffer, TDes8 &aResponse);
Requests the extended notifier server to update the active notifier identified by the specified UID.
The request is synchronous; the call returns when the request is complete.
|
|
IMPORT_C void UpdateNotifierAndGetResponse(TRequestStatus &aRs, TUid aNotifierUid, const TDesC8 &aBuffer, TDes8 &aResponse);
Requests the extended notifier server to update the active notifier identified by the specified UID.
This is an asynchronous request.It may be called multiple times for some notifier implementations; see specific notifier documentation for exact details.
|
IMPORT_C void StartNotifierAndGetResponse(TRequestStatus &aRs, TUid aNotifierUid, const TDesC8 &aBuffer, TDes8 &aResponse);
Requests the extended notifier server to start the notifier identified by the specified UID.
This is an asynchronous request.It may be called multiple times for some notifier implementations; see specific notifier documentation for exact details.
|
IMPORT_C void Notify(const TDesC &aLine1, const TDesC &aLine2, const TDesC &aBut1, const TDesC &aBut2, TInt &aButtonVal, TRequestStatus
&aStatus);
Launches a simple two line dialog that displays two lines of text.
This is an asynchronous request that completes when the dialog exits.
|
IMPORT_C void NotifyCancel();
Not implemented by the server.