lbserrors.h File Reference

API published in: S60 2nd Ed FP 2

Link against: lbs.lib

Capability Information

Required Capabilities

None

Exceptions

The capability Location is required in:

TInt RPositionServer::GetDefaultModuleId(TPositionModuleId& aModuleId) const;

TInt RPositionServer::GetNumModules(TUint& aNumModules) const;

TInt RPositionServer::GetModuleInfoByIndex(TInt aModuleIndex, TPositionModuleInfoBase& aModuleInfo) const;

TInt RPositionServer::GetModuleInfoById(TPositionModuleId aModuleId, TPositionModuleInfoBase& aModuleInfo) const;

TInt RPositionServer::GetModuleStatus(TPositionModuleStatusBase& aPosModuleStatus, TPositionModuleId aModuleId) const;

void RPositionServer::NotifyModuleStatusEvent(TPositionModuleStatusEventBase& aStatusEvent,TRequestStatus& aStatus,const TPositionModuleId aModuleId = KPositionNullModuleId) const;

TInt RPositioner::SetRequestor(CRequestor::TRequestorType aType,CRequestor::TRequestorFormat aFormat,const TDesC& aData);

TInt RPositioner::SetRequestor(const RRequestorStack& aRequestorStack);

TInt RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase& aPosOption);

TInt RPositioner::GetUpdateOptions(TPositionUpdateOptionsBase& aPosOption) const;

void RPositioner::GetLastKnownPosition(TPositionInfoBase& aPosInfo,TRequestStatus& aStatus) const;

void RPositioner::NotifyPositionUpdate(TPositionInfoBase& aPosInfo,TRequestStatus& aStatus) const;


#include <e32def.h>

Go to the source code of this file.


Enumerations

enum   TPositionClientPanic {
  EPositionGenericInfoMismatchDataType = 0, EPositionRequestorConstructorGivenNullData = 1, EPositionGenericInfoZeroBufferSize = 2, EPositionBadRequest = 3,
  EPositionBadDescriptor = 4, EPositionServerHandleNotClosed = 5, EPositionServerBadHandle = 6, EPositionNullPointerHolder = 7,
  EPositionInvalidClassType = 8, EPositionSelectionOrderOverflow = 9, EPositionClassSizeMismatch = 10, EPositionQualityBadDataType = 11,
  EPositionBadTime = 12, EPositionBadAccuracy = 13, EPositionGenericInfoZeroMaxFields = 14, EPositionDuplicateRequest = 15,
  EPositionRequestsNotCancelled = 16, EPositionNullRequestor = 17
}
  Position Client API panic codes. More...

Functions

  _LIT (KPosClientFault,"Lbs Client Fault")

Variables

const TInt  KPositionQualityLoss = 1
const TInt  KPositionPartialUpdate = 2
const TInt  KPositionErrBase = -30371
  Lbs specific error codes.
const TInt  KErrPositionBufferOverflow = KPositionErrBase
const TInt  KErrPositionIncalculable = KPositionErrBase - 1

Enumeration Type Documentation

enum TPositionClientPanic
 

Position Client API panic codes.

Enumerator:
EPositionGenericInfoMismatchDataType  HPostionGenericInfo datatype mismatch.
EPositionRequestorConstructorGivenNullData  CRequestor constructed with a null descriptor.
EPositionGenericInfoZeroBufferSize  HPostionGenericInfo zero-byte buffer.
EPositionBadRequest  A unknown IPC request has been made on the server.
EPositionBadDescriptor  A bad descriptor has been given to the server by the client.
EPositionServerHandleNotClosed  An attempt has been made to connect using an already open handle.
EPositionServerBadHandle  An attempt has been made to communicate though a non connected handle.
EPositionNullPointerHolder  A client has tried to use a RPositioner/RPositionServer handle that hasn't been properly initialised.
EPositionInvalidClassType  A client has asked for/set the supported classes in TPositionModuleInfo with an invalid class type.
EPositionSelectionOrderOverflow  Too many items specified in a TPositionSelectionOrder.
EPositionClassSizeMismatch  The class' size doesn't match the expected value.
EPositionQualityBadDataType  An unsupported object of size greater than KPositionMaxSizeQualityTrait has been passed to a TPositionQualityBase as a field.
EPositionBadTime  A negative TTimeIntervalMicroSeconds was passed to a method.
EPositionBadAccuracy  A negative value for accuracy was passed to a method.
EPositionGenericInfoZeroMaxFields  A client has attempted to instantiate a HPositionGenricInfo with 0 Max Fields.
EPositionDuplicateRequest  A client has called an asynchronous request while it is still outstanding on that RPositionServer / RPositioner.
EPositionRequestsNotCancelled  A session or sub-session was closed with requests still outstanding.
EPositionNullRequestor  A NULL entry has been found in the requestor stack.

Function Documentation

_LIT KPosClientFault  ,
"Lbs Client Fault" 
 

Variable Documentation

const TInt KErrPositionBufferOverflow = KPositionErrBase
 
const TInt KErrPositionIncalculable = KPositionErrBase - 1
 
const TInt KPositionErrBase = -30371
 

Lbs specific error codes.

const TInt KPositionPartialUpdate = 2
 
const TInt KPositionQualityLoss = 1
 

Copyright © Nokia Corporation 2001-2008
Back to top