2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Data class for trigger's dynamic system information.
19 #ifndef LBTTRIGGERDYNAMICINFO_H
20 #define LBTTRIGGERDYNAMICINFO_H
22 #include <lbtcommon.h>
25 * Data class for trigger's dynamic system information, such as
26 * trigger validity and distance to the latest acquired location.
28 * Client application can get following dynamic information of a trigger
31 * - <B>Validity</B>. A trigger is set as invalid when the specified
32 * manager UI, owner process or trigger handling process( for start-up trigger )
33 * is removed from the system. The process can be removed for example when
34 * it resides in removable media( like MMC ), and that media is removed from
35 * the terminal. An invalid trigger is not included in the
36 * trigger supervision process. When the removable media with the specified
37 * process is attached back to the terminal, the trigger is set as
38 * valid and included in the trigger supervision process, provided
39 * that the trigger is not disabled. When a trigger has been invalid longer
40 * than the system clean-up time, the trigger is removed from the system.
41 * The system clean-up time is defined by the system and can't be accessed
42 * by client application. Note, if a trigger's owner process, manager UI
43 * or trigger handling process( for start-up trigger ) is uninstalled
44 * from the system, the trigger will be removed by Location Triggering
47 * - <B>Distance to the Latest Acquired Location</B>.
52 struct TLbtTriggerDynamicInfo
55 * Attributes of a trigger's dynamic information.
57 enum TLbtDynamicInfoAttribute
60 * Validity status attribute.
62 EValidityStatus = 0x01,
65 * Distance to latest acquired location fix.
67 EDistanceToLatestLocation = 0x02,
70 * Last fired location information.
76 * Defines the trigger validity status.
78 enum TLbtTriggerValidity
91 * Defines the trigger validity status.
93 TLbtTriggerValidity iValidity;
96 * The distance in meters from the trigger to latest acquired
99 TReal iDistanceToLatestLocation;
102 * Information of the location where the trigger was last fired. The
103 * information available will contain the latitude, longitude and
104 * horizontal accuracy values. Other details in TLocality will not
107 TLocality iFiredLocality;
115 #endif // LBTTRIGGERDYNAMICINFO_H