Contents

init(accountType:updateURL:)

Creates a user account object with a URL for account update requests.

Declaration

init(accountType: VSUserAccount.AccountType = .free, updateURL: URL?)

Parameters

  • accountType:

    A constant that represents whether a user has access to paid content.

  • updateURL:

    A URL that points to the application’s JavaScript endpoint for update requests.

See Also

Creating user accounts