Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

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

Class TPositionUpdateOptions

class TPositionUpdateOptions : public TPositionUpdateOptionsBase;

Description

The normal class for storing position update options

Derivation

Members

Defined in TPositionUpdateOptions:

Inherited from TPositionClassTypeBase:

Inherited from TPositionUpdateOptionsBase:


Construction and destruction


TPositionUpdateOptions()

IMPORT_C TPositionUpdateOptions();

Description

Default constructor for TPositionUpdateOptions


TPositionUpdateOptions(TTimeIntervalMicroSeconds,TTimeIntervalMicroSeconds,TTimeIntervalMicroSeconds,TBool)

IMPORT_C TPositionUpdateOptions(TTimeIntervalMicroSeconds aInterval, TTimeIntervalMicroSeconds aTimeOut=TTimeIntervalMicroSeconds(0), TTimeIntervalMicroSeconds aMaxAge=TTimeIntervalMicroSeconds(0), TBool aAcceptPartialUpdates=EFalse);

Description

Constructor for TPositionUpdateOptions. 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.

TBool aAcceptPartialUpdates

Whether partial updates will be accepted. Defaults to false.

[Top]


Member functions


SetAcceptPartialUpdates(TBool)

IMPORT_C void SetAcceptPartialUpdates(TBool aAcceptPartialUpdates);

Description

Sets Whether partial updates will be accepted

Parameters

TBool aAcceptPartialUpdates

Whether partial updates will be accepted


AcceptPartialUpdates()const

IMPORT_C TBool AcceptPartialUpdates() const;

Description

Returns Whether partial updates will be accepted

Return value

TBool

ETrue if partial updates are accepted, EFalse otherwise

[Top]


Member data


iAcceptPartialUpdates

protected: TBool iAcceptPartialUpdates;

Description

Whether partial updates are accepted