Show / Hide Table of Contents

Class AccountVerificationProcess

Inheritance
System.Object
AccountVerificationProcess
Implements
ICommonProcess
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Appearition.Common
Assembly: Appearition.SDK.dll
Syntax
public class AccountVerificationProcess : ICommonProcess, IDisposable

Constructors

View Source

AccountVerificationProcess(String, Action, Action<String>, Action<PackageStatus>, Action<List<BasicPackage>>, Action<EmsError>, Action<Boolean>)

Declaration
public AccountVerificationProcess(string username, Action onAccountVerified, Action<string> onMessageReceived, Action<PackageStatus> onPackageStatusReceived, Action<List<BasicPackage>> packagesToSelect, Action<EmsError> onFailure, Action<bool> onComplete)
Parameters
Type Name Description
System.String username
System.Action onAccountVerified
System.Action<System.String> onMessageReceived
System.Action<PackageStatus> onPackageStatusReceived
System.Action<System.Collections.Generic.List<BasicPackage>> packagesToSelect
System.Action<EmsError> onFailure
System.Action<System.Boolean> onComplete
View Source

AccountVerificationProcess(String, Action, Action<String>, Action<List<BasicPackage>>, Action<EmsError>, Action<Boolean>)

Declaration
public AccountVerificationProcess(string username, Action onAccountVerified, Action<string> onMessageReceived, Action<List<BasicPackage>> packagesToSelect, Action<EmsError> onFailure, Action<bool> onComplete)
Parameters
Type Name Description
System.String username
System.Action onAccountVerified
System.Action<System.String> onMessageReceived
System.Action<System.Collections.Generic.List<BasicPackage>> packagesToSelect
System.Action<EmsError> onFailure
System.Action<System.Boolean> onComplete

Fields

View Source

ACCOUNT_VERIFICATION_COMPLETE_MESSAGE

Declaration
public const string ACCOUNT_VERIFICATION_COMPLETE_MESSAGE = "Account verification complete!"
Field Value
Type Description
System.String
View Source

CHECK_REGISTRATION_MESSAGE

Declaration
public const string CHECK_REGISTRATION_MESSAGE = "Checking account details.."
Field Value
Type Description
System.String
View Source

CHECKING_PACKAGE_MESSAGE

Declaration
public const string CHECKING_PACKAGE_MESSAGE = "Finalizing your account creation, please wait.."
Field Value
Type Description
System.String
View Source

delayBetweenEachStatusCheck

Declaration
public float delayBetweenEachStatusCheck
Field Value
Type Description
System.Single
View Source

maxAmountOfRegistrationStatusCheck

Declaration
public int maxAmountOfRegistrationStatusCheck
Field Value
Type Description
System.Int32
View Source

NO_PACKAGES_AVAILABLE

Declaration
public const string NO_PACKAGES_AVAILABLE = "No package is available. Please contact our support on the Ems portal."
Field Value
Type Description
System.String
View Source

PACKAGE_CHECK_TIMEOUT

Declaration
public const string PACKAGE_CHECK_TIMEOUT = "Your account is being activated, but is taking more time than expected. Please come back later."
Field Value
Type Description
System.String
View Source

PLEASE_SELECT_PACKAGE_MESSAGE

Declaration
public const string PLEASE_SELECT_PACKAGE_MESSAGE = "Please select a package."
Field Value
Type Description
System.String
View Source

REGISTRATION_TIMEOUT

Declaration
public const string REGISTRATION_TIMEOUT = "Your account activation seems to be taking longer than expected. Please restart the application later, or contact our support on the EMS Portal."
Field Value
Type Description
System.String
View Source

SELECTING_PACKAGE_MESSAGE

Declaration
public const string SELECTING_PACKAGE_MESSAGE = "Selecting a package, please wait.."
Field Value
Type Description
System.String

Methods

View Source

Dispose()

Declaration
public void Dispose()
View Source

ExecuteMainProcess()

Declaration
public IEnumerator ExecuteMainProcess()
Returns
Type Description
System.Collections.IEnumerator
View Source

SelectPackage(BasicPackage)

Method to call after receiving all the packages to select. Should contain the package that the user has selected for their account. Upon calling this method, the process will resume.

Declaration
public void SelectPackage(BasicPackage package)
Parameters
Type Name Description
BasicPackage package

Implements

ICommonProcess
System.IDisposable

Extension Methods

ObjectExtension.ToStream(Object)
  • View Source
Back to top Generated by DocFX