CLbtTriggerChangeEventNotifier Class Reference

#include <mw/lbttriggerchangeeventnotifier.h>

class CLbtTriggerChangeEventNotifier : public CActive

Inherits from

  • CLbtTriggerChangeEventNotifier

    Detailed Description

    Helper class to receive trigger change event through observer interface.

    See also: RLbt::NotifyTriggerChangeEvent

    library
    lbt.lib
    Since
    S60 5.1

    Constructor & Destructor Documentation

    ~CLbtTriggerChangeEventNotifier ( )

    IMPORT_C~CLbtTriggerChangeEventNotifier()

    Destructor.

    If the notification is started, the destructor will cancel the notification.

    Member Function Documentation

    NewL ( RLbt &, MLbtTriggerChangeEventObserver &, TInt )

    IMPORT_C CLbtTriggerChangeEventNotifier *NewL(RLbt &aLbt,
    MLbtTriggerChangeEventObserver &aObserver,
    TIntaPriority = 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.

    panic
    LocTriggering ELbtServerBadHandle If the subsession of aLbt is not opened.
    ParameterDescription
    aLbtA reference to RLbt object. The subsession must be opened. Otherwise a panic is raised.
    aObserverA reference to the observer object to receive trigger change event.
    aPriorityAn integer specifying the priority of this active object. CActive::TPriority defines a standard set of priorities.

    Start ( )

    IMPORT_C voidStart()

    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.