CLbtTriggerFiringEventNotifier Class Reference

#include <mw/lbttriggerfiringeventnotifier.h>

class CLbtTriggerFiringEventNotifier : public CActive

Inherits from

  • CLbtTriggerFiringEventNotifier

    Detailed Description

    Helper class to receive trigger firing event through observer interface.

    See also: RLbt::NotifyTriggerFired

    library
    lbt.lib
    Since
    S60 5.1

    Constructor & Destructor Documentation

    ~CLbtTriggerFiringEventNotifier ( )

    IMPORT_C~CLbtTriggerFiringEventNotifier()

    Destructor.

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

    Member Function Documentation

    NewL ( RLbt &, MLbtTriggerFiringEventObserver &, TInt )

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

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

    Start ( )

    IMPORT_C voidStart()

    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.