API published in: S60 2nd Ed FP 2
Link against: lbs.lib
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 <lbscommon.h>
Inherits TPositionModuleInfoBase.
Public Types |
|
typedef TUint32 | TTechnologyType |
Defines the various positioning technology types that are used by positioning modules to obtain location information. |
|
typedef TUint32 | TDeviceLocation |
Defines the way the positioning technology hardware is integrated to the system. |
|
typedef TUint32 | TCapabilities |
Defines the different location attributes that a positioning technology can provide the client. |
|
enum | _TTechnologyType { ETechnologyUnknown = 0, ETechnologyTerminal = 0x01, ETechnologyNetwork = 0x02, ETechnologyAssisted = 0x04 } |
Technology types. More... |
|
enum | _TDeviceLocation { EDeviceUnknown = 0, EDeviceInternal = 0x01, EDeviceExternal = 0x02 } |
Device locations. More... |
|
enum | _TCapabilities { ECapabilityNone = 0, ECapabilityHorizontal = 0x0001, ECapabilityVertical = 0x0002, ECapabilitySpeed = 0x0004, ECapabilityDirection = 0x0008, ECapabilitySatellite = 0x0010, ECapabilityCompass = 0x0020, ECapabilityNmea = 0x0040, ECapabilityAddress = 0x0080, ECapabilityBuilding = 0x0100, ECapabilityMedia = 0x0200 } |
Position module capabilities. More... |
|
Public Member Functions |
|
IMPORT_C | TPositionModuleInfo () |
Default constructor for TPositionModuleInfo. |
|
IMPORT_C TPositionModuleId | ModuleId () const |
Get the unique identifier that specifies the positioning module. |
|
IMPORT_C TBool | IsAvailable () const |
Check if the positioning module is available for use. |
|
IMPORT_C void | GetModuleName (TDes &aModuleName) const |
Obtain the positioning module name. |
|
IMPORT_C void | GetPositionQuality (TPositionQuality &aPosQuality) const |
Get the quality of the positioning information that a positioning module is able to provide. |
|
IMPORT_C TTechnologyType | TechnologyType () const |
Get the primary technologies used to obtain position information. |
|
IMPORT_C TDeviceLocation | DeviceLocation () const |
Get information on whether the positioning hardware used by the positioning module is an integrated device or an external
device. |
|
IMPORT_C TCapabilities | Capabilities () const |
Get information about the range of position information this positioning module is capable of returning. |
|
IMPORT_C TUint32 | ClassesSupported (TPositionClassFamily aClassType) const |
Get the classes supported by this positioning module. |
|
IMPORT_C TVersion | Version () const |
The version of the positioning module. |
|
IMPORT_C void | SetModuleId (TPositionModuleId aModuleId) |
This method is not intended for the client's usage. |
|
IMPORT_C void | SetIsAvailable (TBool aIsAvailable) |
This method is not intended for the client's usage. |
|
IMPORT_C void | SetModuleName (const TDesC &aModuleName) |
This method is not intended for the client's usage. |
|
IMPORT_C void | SetPositionQuality (const TPositionQuality &aPosQuality) |
This method is not intended for the client's usage. |
|
IMPORT_C void | SetTechnologyType (TTechnologyType aTechnologyType) |
This method is not intended for the client's usage. |
|
IMPORT_C void | SetDeviceLocation (TDeviceLocation aDeviceLocation) |
This method is not intended for the client's usage. |
|
IMPORT_C void | SetCapabilities (TCapabilities aDeviceCapabilities) |
This method is not intended for the client's usage. |
|
IMPORT_C void | SetClassesSupported (TPositionClassFamily aClassType, TUint32 aSupportedClasses) |
This method is not intended for the client's usage. |
|
IMPORT_C void | SetVersion (TVersion aVersion) |
This method is not intended for the client's usage. |
|
Protected Attributes |
|
TPositionModuleId | iModuleId |
The module ID. |
|
TBool | iIsAvailable |
Whether or not the module is available. |
|
TBuf< KPositionMaxModuleName > | iModuleName |
The module name. |
|
TPositionQuality | iPosQuality |
The position quality. |
|
TTechnologyType | iTechnologyType |
The technology type. |
|
TDeviceLocation | iDeviceLocation |
The location of the device associated with this module. |
|
TCapabilities | iCapabilities |
The capabilities of this module. |
|
TFixedArray< TUint32, EPositionLastFamily > | iSupportedClassTypes |
The array of supported classes for the different class types. |
|
TVersion | iVersion |
The version of this module. |
|
Defines the different location attributes that a positioning technology can provide the client. The enumerated values are specified in _TCapabilities. |
|
Defines the way the positioning technology hardware is integrated to the system. The enumerated values are specified in _TDeviceLocation. |
|
Defines the various positioning technology types that are used by positioning modules to obtain location information. The enumerated values are specified in _TTechnologyType. |
|
Position module capabilities.
|
|
|
Technology types.
|
|
Default constructor for TPositionModuleInfo. |
|
Get information about the range of position information this positioning module is capable of returning.
|
|
Get the classes supported by this positioning module.
|
|
Get information on whether the positioning hardware used by the positioning module is an integrated device or an external device.
|
|
Obtain the positioning module name.
|
|
Get the quality of the positioning information that a positioning module is able to provide.
|
|
Check if the positioning module is available for use.
|
|
Get the unique identifier that specifies the positioning module.
|
|
This method is not intended for the client's usage. This method is used by Location framework to set information about the different positioning related fields that this positioning module is capable of returning.
|
|
This method is not intended for the client's usage. This method is used by Location framework to set the different positioning information classes that this positioning module supports.
|
|
This method is not intended for the client's usage. This method is used by Location framework to set information on whether the positioning hardware used by the positioning module is an integrated device or an external device.
|
|
This method is not intended for the client's usage. This method is used by Location framework to set whether this positioning module is available for position determination or not.
|
|
This method is not intended for the client's usage. This method is used by Location framework to set the module ID for the positioning module
|
|
This method is not intended for the client's usage. This method is used by Location framework to set the name of the positioning module.
|
|
This method is not intended for the client's usage. This method is used by Location framework to set the quality of the positioning information that the positioning module can provide.
|
|
This method is not intended for the client's usage. This method is used by Location framework to set the primary technologies used to obtain position information. This is a bit mask consisting of the enumerated values of _TTechnologyType.
|
|
This method is not intended for the client's usage. This method is used by Location framework to set the version of this positioning module.
|
|
Get the primary technologies used to obtain position information. This is a bit mask consisting of the enumerated values of _TTechnologyType.
|
|
The version of the positioning module.
|
|
The capabilities of this module. |
|
The location of the device associated with this module. |
|
Whether or not the module is available. |
|
The module ID. |
|
The module name. |
|
The position quality. |
|
The array of supported classes for the different class types. |
|
The technology type. |
|
The version of this module. |