MLbsSuplPushObserver Class Reference

#include <lbs/lbssuplpush.h>

Link against: lbssuplpush.lib

class MLbsSuplPushObserver
Public Member Functions
pure virtual voidOnSuplInitComplete(TLbsSuplPushChannel, TLbsSuplPushRequestId, TInt, TInt)
virtual IMPORT_C TVersionVersion()
Protected Member Functions
virtual IMPORT_C TAny *ExtendedInterface(TInt, TAny *, TAny *)

Detailed Description

The MLbsSuplPushObserver class provides a call-back type of interface that must be used together with the CLbsSuplPush class. A class using the CLbsSuplPush interface must derive from MLbsSuplPushObserver and implement appropriate virtual methods in order to receive notifications about request completions.

Deprecated

See also: CLbsSuplPush

Member Function Documentation

ExtendedInterface ( TInt, TAny *, TAny * )

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

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

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

OnSuplInitComplete ( TLbsSuplPushChannel, TLbsSuplPushRequestId, TInt, TInt )

voidOnSuplInitComplete(TLbsSuplPushChannelaChannel,
TLbsSuplPushRequestIdaReqId,
TIntaError,
TIntaReserved
)[pure virtual]

Receive notification that the SUPL Init message has been sent to the LBS sub-system. The call-back is invoked immediately after delivery of the SUPL INIT request and does not provide any information about it's outcome, e.g. conflict control results, host validation results, connection results etc.

See also: CLbsSuplPush::SuplInit

Parameters
aChannel[In] The channel the call-back is related to.
aReqId[In] An Id of the request the call-back is related to.
aError[In] KErrNone if successful, KErrTimeout if it was not possible to deliver the request before the timeout period, KErrArgument if the structure or content of the SUPL INIT message was incorrect. Any system wide error code otherwise.
aReserved[In] Reserved for future use.

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.

Return Value
Version of the observer interface.