TLbtTriggeringSystemManagementSettings Class Reference

class TLbtTriggeringSystemManagementSettings : public TLbtTriggeringSystemSettings

Data class for triggering system management settings.

Since
S60 4.0

Inherits from

Constructor & Destructor Documentation

TLbtTriggeringSystemManagementSettings()

IMPORT_CTLbtTriggeringSystemManagementSettings()

Constructor.

After initiation

  • minimum location update interval is set to zero

  • minimum location update interval when GPS fails is set to zero

  • maximum user speed is set to zero

  • the used positioning module is set to KLbtAutomaticModuleSelection, which means automatic module selection.

Member Functions Documentation

MaximumUserSpeed()

IMPORT_C TRealMaximumUserSpeed()const

Returns maximum user speed.

This setting defines maximum speed that user may move.

MinimumLocationUpdateInterval()

IMPORT_C TIntMinimumLocationUpdateInterval()const

Returns minimum location update interval.

This setting defines minimum location update interval when Location Triggering Server requests location information.

MinimumLocationUpdateIntervalWhenGpsFails()

IMPORT_C TIntMinimumLocationUpdateIntervalWhenGpsFails()const

Returns minimum location update interval the Location Triggering Server uses in case of GPS technology fails.

This setting defines minimum location update interval when GPS technology was tried but it failed to give a location fix.

SetMaximumUserSpeed(TReal)

IMPORT_C voidSetMaximumUserSpeed(TRealaSpeed)

Sets maximum user speed.

This setting defines maximum speed that user may move.

panic
LocTriggering ELbtErrArgument If aSpeed is zero or negative.

Parameters

TReal aSpeedThe maximum user speed, In meters per second.

SetMinimumLocationUpdateInterval(TInt)

IMPORT_C voidSetMinimumLocationUpdateInterval(TIntaInterval)

Set the minimum location update interval.

This setting defines minimum location update interval when Location Triggering Server requests location information.

panic
LocTriggering ELbtErrArgument If aInterval is negative.

Parameters

TInt aIntervalMinimum location update interval. In seconds.

SetMinimumLocationUpdateIntervalWhenGpsFails(TInt)

IMPORT_C voidSetMinimumLocationUpdateIntervalWhenGpsFails(TIntaInterval)

Sets minimum location update interval the Location Triggering Server uses in case of GPS technology fails.

This setting defines minimum location update interval when GPS technology was tried but it failed to give a location fix.

panic
LocTriggering ELbtErrArgument If aInterval is negative.

Parameters

TInt aIntervalMinimum location update interval when GPS fails. In seconds.

SetUsedPositioningModule(TPositionModuleId)

IMPORT_C voidSetUsedPositioningModule(TPositionModuleIdaUid)

Sets the used positioning module. This setting can either indicate a specific positioning module (i.e. a PSY), or automatic selection of positioning module (i.e. Default Proxy). Default value of this setting is KLbtAutomaticModuleSelection, which means automatic selection of positioning module.

Parameters

TPositionModuleId aUidThe UID of the used positioning module. KLbtAutomaticModuleSelection means automatic selection of positioning module.

Type()

IMPORT_C TTypeType()[virtual]

Derived from TLbtTriggeringSystemSettings. Gets the type of system settings class.

UsedPositioningModule()

IMPORT_C TPositionModuleIdUsedPositioningModule()const

Returns the used positioning module. This setting can either indicate a specific positioning module (i.e. a PSY), or automatic selection of positioning module. Default value of this setting is KLbtAutomaticModuleSelection, which means automatic selection of positioning module.

Member Data Documentation

TReal iMaximumUserSpeed

TReal iMaximumUserSpeed[private]

Maximum user speed. In meters per second.

TInt iMinimumLocationUpdateInterval

TInt iMinimumLocationUpdateInterval[private]

Minimum location update interval. In seconds.

TInt iMinimumLocationUpdateIntervalWhenGpsFails

TInt iMinimumLocationUpdateIntervalWhenGpsFails[private]

Minimum location update interval when GPS fails. In seconds.

TUint8 iUnused

TUint8 iUnused[private]

For future use.

TUid iUsedPositioningmodule

TUid iUsedPositioningmodule[private]

The used positioning module.