MPosIntGpsHwStatusObserver Class Reference

class MPosIntGpsHwStatusObserver

The MPosIntGpsHwStatusObserver class provides a call-back type of interface that must be used together with the CPosIntGpsHwStatus class. A class using the CPosIntGpsHwStatus interface must derive from MPosIntGpsHwStatusObserver and implement appropriate virtual methods in order to receive notifications about changes to hardware status.

MPosIntGpsHwStatusObserver is used by the UI, and applications.

CPosIntGpsHwStatus

Public Member Functions
voidOnStatusUpdateEvent(CPosIntGpsHwStatus::TIntGpsHwStatus, TInt)
IMPORT_C TVersionVersion()
Protected Member Functions
IMPORT_C TAny *ExtendedInterface(TInt, TAny *, TAny *)

Member Functions Documentation

ExtendedInterface(TInt, TAny *, TAny *)

IMPORT_C TAny *ExtendedInterface(TIntaFunctionNumber,
TAny *aPtr1,
TAny *aPtr2
)[protected, virtual]

Currently not implemented. Should not be used. Provides for future expansion of the observer interface.

Should not be used. Provides for future expansion of the observer interface.

Parameters

TInt aFunctionNumber
TAny * aPtr1
TAny * aPtr2

OnStatusUpdateEvent(CPosIntGpsHwStatus::TIntGpsHwStatus, TInt)

voidOnStatusUpdateEvent(CPosIntGpsHwStatus::TIntGpsHwStatusaStatus,
TIntaError
)[pure virtual]

Notify observer of a GPS hardware status event

Parameters

CPosIntGpsHwStatus::TIntGpsHwStatus aStatusThe GPS hardware status.
TInt aErrorKErrNone if successful. Other possible error values defined by RProperty::Get()

Version()

IMPORT_C TVersionVersion()const [virtual]

Provides the version of the observer interface. This can be used by the library to determine the functionality supported by the client application.