Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <LbsCommon.h>
Link against: lbs.lib
Link against: lbsselflocate.lib

Class TPositionUpdateOptionsBase

class TPositionUpdateOptionsBase : public TPositionClassTypeBase;

Description

The base class for classes storing position update options

Derivation

Members

Defined in TPositionUpdateOptionsBase:

Inherited from TPositionClassTypeBase:


Construction and destruction


TPositionUpdateOptionsBase()

protected: IMPORT_C TPositionUpdateOptionsBase();

Description

Default constructor for TPositionUpdateOptionsBase


TPositionUpdateOptionsBase(TTimeIntervalMicroSeconds,TTimeIntervalMicroSeconds,TTimeIntervalMicroSeconds)

protected: IMPORT_C TPositionUpdateOptionsBase(TTimeIntervalMicroSeconds aInterval, TTimeIntervalMicroSeconds aTimeOut=TTimeIntervalMicroSeconds(0), TTimeIntervalMicroSeconds aMaxAge=TTimeIntervalMicroSeconds(0));

Description

Constructor for TPositionUpdateOptionsBase. All parameters except aInterval have default values.

Parameters

TTimeIntervalMicroSeconds aInterval

The update interval to be set.

TTimeIntervalMicroSeconds aTimeOut

The update timeout to be set. Defaults to zero.

TTimeIntervalMicroSeconds aMaxAge

The maximum update age to be set. Defaults to zero.

Panic codes

"LocationClient

EPositionBadTime" if aInterval, aMaxAge or aTimeOut is negative.

[Top]


Member functions


SetUpdateInterval(TTimeIntervalMicroSeconds)

IMPORT_C void SetUpdateInterval(TTimeIntervalMicroSeconds aInterval);

Description

Sets update interval

Parameters

TTimeIntervalMicroSeconds aInterval

The update interval to be set

Panic codes

"LocationClient

EPositionBadTime" if aInterval is negative.


SetUpdateTimeOut(TTimeIntervalMicroSeconds)

IMPORT_C void SetUpdateTimeOut(TTimeIntervalMicroSeconds aTimeOut);

Description

Sets the update timeout

Parameters

TTimeIntervalMicroSeconds aTimeOut

The update timeout to be set

Panic codes

"LocationClient

EPositionBadTime" if aTimeOut is negative.


SetMaxUpdateAge(TTimeIntervalMicroSeconds)

IMPORT_C void SetMaxUpdateAge(TTimeIntervalMicroSeconds aMaxAge);

Description

sets the maximum update age

Parameters

TTimeIntervalMicroSeconds aMaxAge

The maximum update age to be set

Panic codes

"LocationClient

EPositionBadTime" if aMaxAge is negative.


UpdateInterval()const

IMPORT_C TTimeIntervalMicroSeconds UpdateInterval() const;

Description

Returns the update interval

Return value

TTimeIntervalMicroSeconds

The update interval


UpdateTimeOut()const

IMPORT_C TTimeIntervalMicroSeconds UpdateTimeOut() const;

Description

Returns the update timeout

Return value

TTimeIntervalMicroSeconds

The update timeout


MaxUpdateAge()const

IMPORT_C TTimeIntervalMicroSeconds MaxUpdateAge() const;

Description

Returns the maximum update age

Return value

TTimeIntervalMicroSeconds

The maximum update age

[Top]


Member data


iUpdateInterval

protected: TTimeIntervalMicroSeconds iUpdateInterval;

Description

The update interval


iUpdateTimeOut

protected: TTimeIntervalMicroSeconds iUpdateTimeOut;

Description

The update timeout


iMaxUpdateAge

protected: TTimeIntervalMicroSeconds iMaxUpdateAge;

Description

The maximum update age