VGSCollect and States
VGSCollect
Declaration
class VGSCollectCreating a VGSCollect
/// Initialzation.
///
/// - Parameters:
/// - id: your organization vault id.
/// - environment: your organization vault environment with data region.(e.g. "live", "live-eu1", "sanbox").
/// - hostname: Custom Hostname, if not set, data will be sent to Vault Url
init(id: String, environment: String, hostname: String? = nil)
/// Initialzation.
///
/// - Parameters:
/// - id: your organization vault id.
/// - environment: your organization vault environment. By default `Environment.sandbox`.
/// - dataRegion: id of data storage region (e.g. "eu-123").
/// - hostname: Custom Hostname, if not set, data will be sent to Vault Url
init(id: String, environment: Environment = .sandbox, dataRegion: String? = nil, hostname: String? = nil)Code example
Multiple Data Regions
Add a Custom Hostname
Observing States
State
Declaration
Some of State attributes
VGSCardState
Declaration
VGSCardState attributes
VGSSSNState
Declaration
VGSSSNState attributes
Code example
State Publisher
Declaration
Code example
Observe VGSTextField states
Code example
Last updated

