ConfigurationBuilder

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKConfigurationBuilder)
open class ConfigurationBuilder : NSObject

The configuration builder object offers all properties of Configuration in a mutable version, in order to build an immutable Configuration object. To further configure the different viewcontrollers, use the configureXYZViewController methods to edit the given options.

  • Read configuration from a dictionary. This process will modify the current assetCatalog associated with this builder if the given dictionary configures any assets.

    Declaration

    Swift

    @objc(configureFromDictionary:error:)
    func configure(from dictionary: [String : Any]) throws

    Parameters

    dictionary

    A valid JSON object.

  • Read configuration from data. This process will modify the current assetCatalog associated with this builder if the given data configures any assets.

    Declaration

    Swift

    @objc(configureFromData:error:)
    func configure(from data: Data) throws

    Parameters

    data

    A serialized JSON object.