TLbsGpsOptionsArray Class Reference

class TLbsGpsOptionsArray : public TLbsGpsOptions

Encapsulates an array of settings for the GPS integration module. An instance of the class may be passed by the LBS subsystem to the integration module via the method CLbsLocationSourceGpsBase::SetGpsOptions() . An instance of the class is passed from the LBS subsystem to the integration module via the method CLbsLocationSourceGpsBase::SetGpsOptions() if the network has indicated that it wants to use hybrid mode - a combination of terminal based and terminal assisted positioning. CLbsLocationSourceGpsBase::SetGpsOptions() CLbsAdmin::TGpsMode TLbsGpsOptionsItem

Inherits from

Constructor & Destructor Documentation

TLbsGpsOptionsArray()

IMPORT_C TLbsGpsOptionsArray ( )

TLbsGpsOptionsArray specifies and array of GPS Modes for location updates produced by the data source.

Member Functions Documentation

AppendOptionItem(const TLbsGpsOptionsItem &)

IMPORT_C TInt AppendOptionItem ( const TLbsGpsOptionsItem & aOptionItem )

Adds the supplied GPS Option Item to the current list NumOptionItems() GetOptionItem() TLbsGpsOptionsItem

Parameters

const TLbsGpsOptionsItem & aOptionItem The option item to append

ClearOptionItems()

IMPORT_C void ClearOptionItems ( )

GetOptionItem(TUint, TLbsGpsOptionsItem &)

IMPORT_C TInt GetOptionItem ( TUint aIndex,
TLbsGpsOptionsItem & aOptionItem
) const

Retrieves the specified GPS option item by index NumOptionItems() AppendOptionItem() TLbsGpsOptionsItem

Parameters

TUint aIndex The index of the GPS option item requested. An index of zero specifies the first option item
TLbsGpsOptionsItem & aOptionItem

NumOptionItems()

IMPORT_C TInt NumOptionItems ( ) const

Member Data Documentation

TUint iNumItems

TUint iNumItems [protected]

The number of items in the array

TFixedArray< TLbsGpsOptionsItem, KLbsMaxGpsOptions > iOptions

TFixedArray < TLbsGpsOptionsItem , KLbsMaxGpsOptions > iOptions [protected]

The array of GPS options

TUint8 iReserved

TUint8 iReserved [protected]

Reserved