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
void OnStatusUpdateEvent ( CPosIntGpsHwStatus::TIntGpsHwStatus , TInt )
IMPORT_C TVersion Version ()
Protected Member Functions
IMPORT_C TAny * ExtendedInterface ( TInt , TAny *, TAny *)

Member Functions Documentation

ExtendedInterface(TInt, TAny *, TAny *)

IMPORT_C TAny * ExtendedInterface ( TInt aFunctionNumber,
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)

void OnStatusUpdateEvent ( CPosIntGpsHwStatus::TIntGpsHwStatus aStatus,
TInt aError
) [pure virtual]

Notify observer of a GPS hardware status event

Parameters

CPosIntGpsHwStatus::TIntGpsHwStatus aStatus The GPS hardware status.
TInt aError KErrNone if successful. Other possible error values defined by RProperty::Get()

Version()

IMPORT_C TVersion Version ( ) 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.