TLbtTriggerDynamicInfo Struct Reference

#include <mw/lbttriggerdynamicinfo.h>

Link against: lbt.lib

struct TLbtTriggerDynamicInfo

Detailed Description

Data class for trigger's dynamic system information, such as trigger validity and distance to the latest acquired location.

Client application can get following dynamic information of a trigger after it's created.

  • Validity. A trigger is set as invalid when the specified manager UI, owner process or trigger handling process( for start-up trigger ) is removed from the system. The process can be removed for example when it resides in removable media( like MMC ), and that media is removed from the terminal. An invalid trigger is not included in the trigger supervision process. When the removable media with the specified process is attached back to the terminal, the trigger is set as valid and included in the trigger supervision process, provided that the trigger is not disabled. When a trigger has been invalid longer than the system clean-up time, the trigger is removed from the system. The system clean-up time is defined by the system and can't be accessed by client application. Note, if a trigger's owner process, manager UI or trigger handling process( for start-up trigger ) is uninstalled from the system, the trigger will be removed by Location Triggering Server.

  • Distance to the Latest Acquired Location.

Since
S60 5.1

Member Attribute Documentation

iDistanceToLatestLocation

TReal iDistanceToLatestLocation

The distance in meters from the trigger to latest acquired location.

iFiredLocality

TLocality iFiredLocality

Information of the location where the trigger was last fired. The information available will contain the latitude, longitude and horizontal accuracy values. Other details in TLocality will not be updated.

iUnused

TUint8 iUnused

For future use

iValidity

Defines the trigger validity status.

Member Enumeration Documentation

Enum TLbtDynamicInfoAttribute

Attributes of a trigger's dynamic information.

EnumeratorValueDescription
EValidityStatus0x01

Validity status attribute.

EDistanceToLatestLocation0x02

Distance to latest acquired location fix.

EFiredLocality0x04

Last fired location information.

Enum TLbtTriggerValidity

Defines the trigger validity status.

EnumeratorValueDescription
EInvalid1

Invalid

EValid2

Valid