Filestack Documentation

Class Config.​Builder

@objc(FSConfigBuilder) public class Builder: NSObject  

A convenience class that allows easily building a new Config object.

Config.Builder Config.Builder NSObject NSObject Config.Builder->NSObject

Member Of

Config

The Config class is used together with Client to configure certain aspects of the API.

Conforms To

NSObject

Methods

with(callback​URLScheme:​)

@objc public func with(callbackURLScheme: String) -> Self  

:nodoc:

with(cloud​Thumbnail​Cache​Policy:​)

@objc public func with(cloudThumbnailCachePolicy: URLRequest.CachePolicy) -> Self  

with(maximum​Selection​Limit:​)

@objc public func with(maximumSelectionLimit: UInt) -> Self  

:nodoc:

with​NoSelection​Limit()

@objc public func withNoSelectionLimit() -> Self  

:nodoc:

with(modal​Presentation​Style:​)

@objc public func with(modalPresentationStyle: UIModalPresentationStyle) -> Self  

:nodoc:

with(available​Cloud​Sources:​)

@objc public func with(availableCloudSources: [CloudSource]) -> Self  

:nodoc:

with(available​Local​Sources:​)

@objc public func with(availableLocalSources: [LocalSource]) -> Self  

:nodoc:

with(document​Picker​Allowed​UTIs:​)

@objc public func with(documentPickerAllowedUTIs: [String]) -> Self  

:nodoc:

with(cloud​Source​Allowed​UTIs:​)

@objc public func with(cloudSourceAllowedUTIs: [String]) -> Self  

:nodoc:

with(image​URLExport​Preset:​)

@objc public func with(imageURLExportPreset: ImageURLExportPreset) -> Self  

:nodoc:

with(image​Export​Quality:​)

@objc public func with(imageExportQuality: Float) -> Self  

:nodoc:

with(video​Export​Preset:​)

@objc public func with(videoExportPreset: String) -> Self  

:nodoc:

with(video​Quality:​)

@objc public func with(videoQuality: UIImagePickerController.QualityType) -> Self  

:nodoc:

with​Editor​Enabled()

@objc public func withEditorEnabled() -> Self  

:nodoc:

with(photos​Picker​Filter:​)

public func with(photosPickerFilter: [PhotosPickerFilter]) -> Self  

:nodoc:

build()

@objc public func build() -> Config  

Instantiates a new Config object using any user-supplied options.

with(app​URLScheme:​)

@available(*, deprecated, message: "Marked for removal in version 3.0", renamed: "with(callbackURLScheme:)")
    @objc public func with(appURLScheme: String) -> Self  

with(app​Url​Scheme:​)

@available(*, deprecated, message: "Marked for removal in version 3.0", renamed: "with(callbackURLScheme:)")
    public func with(appUrlScheme: String) -> Self  

with(image​Url​Export​Preset:​)

@available(*, deprecated, message: "Marked for removal in version 3.0", renamed: "with(imageURLExportPreset:)")
    public func with(imageUrlExportPreset: ImageURLExportPreset) -> Self