#include <mw/lbttriggerfiringeventnotifier.h>
class CLbtTriggerFiringEventNotifier : public CActive |
Public Member Functions | |
---|---|
~CLbtTriggerFiringEventNotifier() | |
IMPORT_C CLbtTriggerFiringEventNotifier * | NewL(RLbt &, MLbtTriggerFiringEventObserver &, TInt) |
IMPORT_C void | Start() |
Inherited Attributes | |
---|---|
CActive::iStatus |
Inherited Enumerations | |
---|---|
CActive:TPriority |
Helper class to receive trigger firing event through observer interface.
See also: RLbt::NotifyTriggerFired
IMPORT_C | ~CLbtTriggerFiringEventNotifier | ( | ) |
Destructor.
If the notification is started, the destructor will cancel the notification.
IMPORT_C CLbtTriggerFiringEventNotifier * | NewL | ( | RLbt & | aLbt, |
MLbtTriggerFiringEventObserver & | aObserver, | |||
TInt | aPriority = CActive::EPriorityStandard | |||
) | [static] |
Construct a trigger firing event notifier object.
When the object is constructed. The trigger firing event notification request is not issued to the Location Triggering Server. Client shall call CLbtTriggerFiringEventNotifier::Start() to start notification.
Parameter | Description |
---|---|
aLbt | A referece to RLbt object. The subsession must be opened. Otherwise a panic is raised. |
aObserver | A referece to the observer object to receive trigger firing event. |
aPriority | An integer specifying the priority of this active object. CActive::TPriority defines a standard set of priorities. |
IMPORT_C void | Start | ( | ) |
Start trigger firing event notification.
After this function is called, when a trigger is fired, the client will be notified from the observer interface.
Client shall call Cancel() function to stop the trigger firing event notification.