MWSAccMgrUiPlugin Class Reference

#include <ext/mw/mwsaccmgruiplugin.h>

class MWSAccMgrUiPlugin

Member Enumeration Documentation

Enum TMEPNeeded

EnumeratorValueDescription
ENoRequest0

UI asks to fetch PhoneActivation details

ECaptcha1

UI asks to fetch captcha image

ETOS

UI asks to download Term of Usage

ESignUp

UI collected all User input and wants register account

ESecretQuestions

UI asks to fetch list with secret questions

ECheckUsernameAvailabilityL

UI wants check availability of username

ESignIn

UI sends signal to sign in

ESignInUI

UI sends signal to launch full sign in flow (UI & MEP)

ECheckPassword

Ui wants to check if the provided password is ok

EUpdatePassword

UI wants to update account password

EUpdateSecurityQuestion

UI wants to update security question

EUploadAccount

UI wants to update account data

EPasswordQuestion

UI wants to receive password secret question

ERetriveContactMethods

UI wants to receive preferable contacts to retrive password reset token

EResetPasswordBySMS

UI wants to receive token password on NCIM

EResetPasswordByEmail

UI wants to receive token password on NCIM

EChangePassword

UI wants to change password after reset on NCIM

ECancelUser

UI has been cancelled by end user

ECancelRequest

UI wants to cancel pending request

EDeleteAccount

UI wants to delete account

EUpdateLocalData

UI wants to update device specific data (no request to the backend is needed)

EAccountDetails
EDownlaodAccount
ESignOut
EAutoDetectUser23
EUpdateUserInfo
ESmcQueryVariant
EOviMailRequest
EMarketingConsentUpdate
EYahooToSUrls
EYahooToSContent
EYahooPPUrls
EYahooPPContent
EClockServerTime
ENokiaTermsUrls
ENokiaToSContent
ENokiaPPContent
ETermsAcceptanceRetrieval
ETermsAcceptanceUpdate
EGetSmcSubscription
EUpdateSmcSubscription

Enum TUICommand

EnumeratorValueDescription
EStart

Start user interface and handling user input

EContinue

After handling demand(TMEPNeeded) from UI, account manager ask UI to continue flow & handling next user input

EWait

After handling demand(TMEPNeeded) from UI, account manager ask UI to continue flow & handling next user input WITHOUT signalizing new demand. Its similar to EContinue but new demands will not be handled by account manager.

EFail

Account manager informs UI that some error happened. Details stored within account.

EStop

Stop UI, Allow UI for additional actions before view deactivation.

EAccClose

Account manager informs UI to close any UI which is visible now

EV3Start

Account manager informs UI to close any UI which is visible now

Member Function Documentation

CancelUIAsync ( )

TInt CancelUIAsync()[pure virtual]

Cancels an outstanding asynchronous request. The result of the cancellation request will be reflected through the request status of the pending request. A status of KErrCancel denotes that the request has been safely cancelled.

Return Value
KErrNone or some system-wide Symbian error code.

InvokeCustomUIAccountCreateL ( TRequestStatus &, CWSAccount &, TUICommand, CWSAccountManager::TCreateStartupView )

TInt InvokeCustomUIAccountCreateL(TRequestStatus &aStatus,
CWSAccount &aAccount,
TUICommandaCommand,
CWSAccountManager::TCreateStartupViewaView
)[pure virtual]

Invoke UI layer to perform SignUp process, account creation wizard. Account manager asks UI plugin to show views & gather all information about account in order to store it within aAccount

Out values ========================================================================= |key | description | ========================================================================= |aAccount.UserId() | Account name (user id) | ------------------------------------------------------------------------- |KWSAccAttrAccountCaptcha | Holds already human text of CAPTCHA| ------------------------------------------------------------------------- |KWSAccAttrAccountMobile | Account's owner mobile phone number| ------------------------------------------------------------------------- |aAccount.Password() | Account password | ------------------------------------------------------------------------- |KWSAccAttrAccountSecretQuest | Id of security question | ------------------------------------------------------------------------- |KWSAccAttrAccountSecretAnswer | Answer for security question | -------------------------------------------------------------------------

Parameters
aStatusUsed by plugin to indicate completion of the send request. Value of completion is equal to: -negative cases: symbian error code -positive cases: TMEPNeeded
aAccountin/out parameter. Holds information about processed account & user input In values ========================================================================= |key | description | ========================================================================= |AvailableUsernames | Keeps list of free Account-names, | | | If SignUp fails | ------------------------------------------------------------------------- |KWSAccAttrAccountCaptcha | Holds CAPTCHA, usually as Base64 | ------------------------------------------------------------------------- |aAccount.SecurityQuestions() | Array of secret questions | -------------------------------------------------------------------------
aCommandcontrol flow, determines/suggests UI how to behave
aViewinit view when EStart aCommand is passed
Return Value
KErrNone or other system-wide Symbian error codes.

InvokeCustomUIAccountDetailsL ( TRequestStatus &, CWSAccount &, TUICommand, CWSAccountManager::TEditorMode )

TInt InvokeCustomUIAccountDetailsL(TRequestStatus &aStatus,
CWSAccount &aAccount,
TUICommandaCommand,
CWSAccountManager::TEditorModeaMode
)[pure virtual]

Invoke UI layer to show account details.

Parameters
aStatusUsed by plugin to indicate completion of the send request. Value of completion is equal to: -negative cases: symbian error code -positive cases: TMEPNeeded
aAccountin parameter. Holds information about account.
aCommandcontrol flow, determine/suggest UI how to behave
Return Value
KErrNone or other system-wide Symbian error codes.

InvokeCustomUIAccountSignInL ( TRequestStatus &, CWSAccount &, TUICommand )

TInt InvokeCustomUIAccountSignInL(TRequestStatus &aStatus,
CWSAccount &aAccount,
TUICommandaCommand
)[pure virtual]