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_C TLbtTriggeringSystemManagementSettings ( )

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 TReal MaximumUserSpeed ( ) const

Returns maximum user speed.

This setting defines maximum speed that user may move.

MinimumLocationUpdateInterval()

IMPORT_C TInt MinimumLocationUpdateInterval ( ) const

Returns minimum location update interval.

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

MinimumLocationUpdateIntervalWhenGpsFails()

IMPORT_C TInt MinimumLocationUpdateIntervalWhenGpsFails ( ) 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 void SetMaximumUserSpeed ( TReal aSpeed )

Sets maximum user speed.

This setting defines maximum speed that user may move.

panic
LocTriggering ELbtErrArgument If aSpeed is zero or negative.

Parameters

TReal aSpeed The maximum user speed, In meters per second.

SetMinimumLocationUpdateInterval(TInt)

IMPORT_C void SetMinimumLocationUpdateInterval ( TInt aInterval )

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 aInterval Minimum location update interval. In seconds.

SetMinimumLocationUpdateIntervalWhenGpsFails(TInt)

IMPORT_C void SetMinimumLocationUpdateIntervalWhenGpsFails ( TInt aInterval )

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 aInterval Minimum location update interval when GPS fails. In seconds.

SetUsedPositioningModule(TPositionModuleId)

IMPORT_C void SetUsedPositioningModule ( TPositionModuleId aUid )

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 aUid The UID of the used positioning module. KLbtAutomaticModuleSelection means automatic selection of positioning module.

Type()

IMPORT_C TType Type ( ) [virtual]

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

UsedPositioningModule()

IMPORT_C TPositionModuleId UsedPositioningModule ( ) 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.