#include <mw/lbttriggerchangeeventnotifier.h>
class CLbtTriggerChangeEventNotifier : public CActive |
Public Member Functions | |
---|---|
~CLbtTriggerChangeEventNotifier() | |
IMPORT_C CLbtTriggerChangeEventNotifier * | NewL(RLbt &, MLbtTriggerChangeEventObserver &, TInt) |
IMPORT_C void | Start() |
Inherited Attributes | |
---|---|
CActive::iStatus |
Inherited Enumerations | |
---|---|
CActive:TPriority |
Helper class to receive trigger change event through observer interface.
See also: RLbt::NotifyTriggerChangeEvent
IMPORT_C | ~CLbtTriggerChangeEventNotifier | ( | ) |
Destructor.
If the notification is started, the destructor will cancel the notification.
IMPORT_C CLbtTriggerChangeEventNotifier * | NewL | ( | RLbt & | aLbt, |
MLbtTriggerChangeEventObserver & | aObserver, | |||
TInt | aPriority = CActive::EPriorityStandard | |||
) | [static] |
Construct a trigger change event notifier object.
When the object is constructed. The trigger change notification request is not issued to the Location Triggering Server. Client shall call CLbtTriggerChangeEventNotifier::Start() to start notification.
Parameter | Description |
---|---|
aLbt | A reference to RLbt object. The subsession must be opened. Otherwise a panic is raised. |
aObserver | A reference to the observer object to receive trigger change 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 change event notification.
After this function is called, when any trigger is changed in Location Trigger Server, the client will be notified from the observer interface.
Client shall call Cancel() function to stop the trigger change event notification.