class RPositioner : public RPositionerSubSessionBase |
This class is used to create a sub-session with the server for the purpose of obtaining the current position. In addition to actually obtaining position information, this class also provides mechanisms for obtaining the last known position, the last known position with area information, the general status of the positioning module, changing how often it wishes to receive position updates, as well as identifying itself to the location framework.
Before using the class, a primary connection must have already been established with the server.
Public Member Functions | |
---|---|
RPositioner() | |
IMPORT_C void | Close() |
IMPORT_C void | GetLastKnownPosition(TPositionInfoBase &, TRequestStatus &) |
IMPORT_C void | GetLastKnownPositionArea(TPositionInfoBase &, TPositionAreaInfoBase &, TRequestStatus &) |
IMPORT_C TInt | GetUpdateOptions(TPositionUpdateOptionsBase &) |
IMPORT_C void | NotifyPositionUpdate(TPositionInfoBase &, TRequestStatus &) |
IMPORT_C TInt | Open(RPositionServer &) |
IMPORT_C TInt | Open(RPositionServer &, TPositionModuleId) |
IMPORT_C TInt | Open(RPositionServer &, const TPositionCriteriaBase &) |
TInt | OpenImpl(RPositionServer &, TPositionModuleId, const TPositionCriteriaBase &, TBool) |
IMPORT_C TInt | SetRequestor(CRequestor::TRequestorType, CRequestor::TRequestorFormat, const TDesC &) |
IMPORT_C TInt | SetRequestor(const RRequestorStack &) |
IMPORT_C TInt | SetUpdateOptions(const TPositionUpdateOptionsBase &) |
Protected Member Functions | |
---|---|
IMPORT_C void | ConstructL() |
IMPORT_C void | Destruct() |
IMPORT_C TAny * | ExtendedInterface(TInt, TAny *, TAny *) |
Inherited Enumerations | |
---|---|
RPositionerSubSessionBase:_TRequestId |
Private Attributes | |
---|---|
CPositioningPtrHolder * | iPtrHolder |
TAny * | iReserved |
IMPORT_C TAny * | ExtendedInterface | ( | TInt | aFunctionNumber, |
TAny * | aPtr1, | |||
TAny * | aPtr2 | |||
) | [protected, virtual] |
IMPORT_C void | GetLastKnownPosition | ( | TPositionInfoBase & | aPosInfo, |
TRequestStatus & | aStatus | |||
) | const |
TPositionInfoBase & aPosInfo | |
TRequestStatus & aStatus |
IMPORT_C void | GetLastKnownPositionArea | ( | TPositionInfoBase & | aPosInfo, |
TPositionAreaInfoBase & | aAreaInfo, | |||
TRequestStatus & | aStatus | |||
) | const |
TPositionInfoBase & aPosInfo | |
TPositionAreaInfoBase & aAreaInfo | |
TRequestStatus & aStatus |
IMPORT_C TInt | GetUpdateOptions | ( | TPositionUpdateOptionsBase & | aPosOption | ) | const |
TPositionUpdateOptionsBase & aPosOption |
IMPORT_C void | NotifyPositionUpdate | ( | TPositionInfoBase & | aPosInfo, |
TRequestStatus & | aStatus | |||
) | const |
TPositionInfoBase & aPosInfo | |
TRequestStatus & aStatus |
IMPORT_C TInt | Open | ( | RPositionServer & | aPosServer | ) |
RPositionServer & aPosServer |
IMPORT_C TInt | Open | ( | RPositionServer & | aPosServer, |
TPositionModuleId | aModuleId | |||
) |
RPositionServer & aPosServer | |
TPositionModuleId aModuleId |
IMPORT_C TInt | Open | ( | RPositionServer & | aPosServer, |
const TPositionCriteriaBase & | aCriteria | |||
) |
RPositionServer & aPosServer | |
const TPositionCriteriaBase & aCriteria |
TInt | OpenImpl | ( | RPositionServer & | aPosServer, |
TPositionModuleId | aModuleId, | |||
const TPositionCriteriaBase & | aCriteria, | |||
TBool | aOpenedUsingModuleId | |||
) |
RPositionServer & aPosServer | |
TPositionModuleId aModuleId | |
const TPositionCriteriaBase & aCriteria | |
TBool aOpenedUsingModuleId |
IMPORT_C TInt | SetRequestor | ( | CRequestor::TRequestorType | aType, |
CRequestor::TRequestorFormat | aFormat, | |||
const TDesC & | aData | |||
) |
CRequestor::TRequestorType aType | |
CRequestor::TRequestorFormat aFormat | |
const TDesC & aData |
IMPORT_C TInt | SetRequestor | ( | const RRequestorStack & | aRequestorStack | ) |
const RRequestorStack & aRequestorStack |
IMPORT_C TInt | SetUpdateOptions | ( | const TPositionUpdateOptionsBase & | aPosOption | ) |
const TPositionUpdateOptionsBase & aPosOption |