PolicyCall

public struct PolicyCall : OptionSet

Represents a policy call type.

See Creating Policies for more information about policy calls.

  • Allows users to upload files.

    Declaration

    Swift

    public static let pick: PolicyCall
  • Allows files to be viewed/accessed.

    Declaration

    Swift

    public static let read: PolicyCall
  • Allows metadata about files to be retrieved.

    Declaration

    Swift

    public static let stat: PolicyCall
  • Allows use of the write function.

    Declaration

    Swift

    public static let write: PolicyCall
  • Allows use of the writeUrl function.

    Declaration

    Swift

    public static let writeURL: PolicyCall
  • Allows files to be written to custom storage.

    Declaration

    Swift

    public static let store: PolicyCall
  • Allows transformation (crop, resize, rotate) of files, also needed for the viewer.

    Declaration

    Swift

    public static let convert: PolicyCall
  • Allows removal of Filestack files.

    Declaration

    Swift

    public static let remove: PolicyCall
  • Allows exif metadata to be accessed.

    Declaration

    Swift

    public static let exif: PolicyCall
  • Allows workflows to be run.

    Declaration

    Swift

    public static let runWorkflow: PolicyCall
  • Declaration

    Swift

    public let rawValue: Int
  • Declaration

    Swift

    public init(rawValue: Int)