MLbsSuplPushObserver Class Reference

class MLbsSuplPushObserver

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.

CLbsSuplPush

Public Member Functions
voidOnSuplInitComplete(TLbsSuplPushChannel, TLbsSuplPushRequestId, TInt, 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]

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.

Parameters

TInt aFunctionNumber
TAny * aPtr1
TAny * aPtr2

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.

CLbsSuplPush::SuplInit

Parameters

TLbsSuplPushChannel aChannel[In] The channel the call-back is related to.
TLbsSuplPushRequestId aReqId[In] An Id of the request the call-back is related to.
TInt 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.
TInt 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.