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.
Public Member Functions | |
---|---|
void | OnStatusUpdateEvent ( CPosIntGpsHwStatus::TIntGpsHwStatus , TInt ) |
IMPORT_C TVersion | Version () |
Protected Member Functions | |
---|---|
IMPORT_C TAny * | 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.
void | OnStatusUpdateEvent | ( | CPosIntGpsHwStatus::TIntGpsHwStatus | aStatus, |
TInt | aError | |||
) | [pure virtual] |
Notify observer of a GPS hardware status event
CPosIntGpsHwStatus::TIntGpsHwStatus aStatus | The GPS hardware status. |
TInt aError | KErrNone if successful. Other possible error values defined by RProperty::Get() |
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.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.