Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: LbsCommon.h
Link against: lbsselflocate.lib

Class TPositionUpdateOptions

class TPositionUpdateOptions : public TPositionUpdateOptionsBase;

Description

The normal class for storing position update options. It extends TPositionUpdateOptionsBase, adding methods to allow the option of returning partial updates of data to be specified.

Derivation

Members

Defined in TPositionUpdateOptions:
AcceptPartialUpdates(), SetAcceptPartialUpdates(), TPositionUpdateOptions(), TPositionUpdateOptions(), iAcceptPartialUpdates

Inherited from TPositionClassTypeBase:
PositionClassSize(), PositionClassType(), iPosClassSize, iPosClassType

Inherited from TPositionUpdateOptionsBase:
MaxUpdateAge(), SetMaxUpdateAge(), SetUpdateInterval(), SetUpdateTimeOut(), UpdateInterval(), UpdateTimeOut(), iMaxUpdateAge, iUpdateInterval, iUpdateTimeOut


Construction and destruction


TPositionUpdateOptions()

IMPORT_C TPositionUpdateOptions();

Description

Default constructor for TPositionUpdateOptions


TPositionUpdateOptions()

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

IMPORT_C void SetAcceptPartialUpdates(TBool aAcceptPartialUpdates);

Description

Sets Whether partial updates will be accepted

Parameters

TBool aAcceptPartialUpdates

Whether partial updates will be accepted


AcceptPartialUpdates()

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