LogoLogo
HomeLibraryDonateAbout
  • Introduction
  • JS
    • EC
      • ECommerceInterface
      • ECDeviceInfo
      • ECProgress
      • Payment Objects
        • ECPrice
        • ECCreditCardPayment
        • ECCreditCardEncryptedPayment
        • ECECardPayment
        • ECAccountPayment
        • ECTransactionInfo
      • Title Objects
        • ECTitleLimit
        • ECTitleInfo
        • ECTicketInfo
    • DL Tasks
    • Keyboard
    • Mii
    • NWC24
    • SD Card
    • Shop
    • Sound
  • SOAP
    • Base Format
    • IAS
      • CheckRegistration
      • GetRegistrationInfo
      • SyncRegistration
      • GetChallenge
      • Register
      • Unregister
    • ECS
      • AcceptGiftTitle
      • ConfirmCSS
      • CheckAccountBalance
      • CheckDeviceStatus
      • DeleteETickets
      • GetECConfig
      • GetETickets
      • GiftTitle
      • ListETickets
      • ListPurchaseHistory
      • MigrateETickets
      • MigratePoints
      • NotifyETicketsSynced
      • PurchaseTitle
      • PurchasePoints
      • RedeemAllSCATitles
    • CAS
      • GetCountryAttributes
      • ListContentSets
      • ListContentSetGroups
Powered by GitBook
On this page

Was this helpful?

  1. JS
  2. EC

ECProgress

Progress tracking, simplified

ECProgress is an object describing an operation's state. You should not instantiate one yourself - instead, for all asynchronous operations, one will be returned by the function.

For example, you may encounter:

var progress = ec.checkDeviceStatus();

Properties

Property Name
Discussion

progress.status

Integer regarding the internal EC value of operations. -4009 appears to mean "incomplete".

progress.operation

String of the current operation. For the example above, this could be checkDeviceStatus .

progress.description

Description of the current operation. Typically empty. TODO: find how to set a description.

progress.phase

Unknown, typically observed to be 17.

progress.isCancelRequested

Boolean regarding if this asyncronous operation should be cancelled.

progress.downloadedSize

Size currently downloaded. Most useful for a title contents-related operation.

progress.totalSize

Size of the finished contents. Most useful for a title contents-related operation.

progress.errCode

Error code returned from operation.

progress.errInfo

Information about the error. TODO: find how this is set

PreviousECDeviceInfoNextPayment Objects

Last updated 3 years ago

Was this helpful?