AlgorithmConfig

public struct AlgorithmConfig

User configuration for an Algorithm where needed.

Not all config fields are applicable to all algorithms. Supplied and applicable config will override the defaults.

  • A percentage confidence level at which content is flagged e.g. 70 (the default)

    Declaration

    Swift

    public let blockThreshold: Int?
  • Create a config

    Declaration

    Swift

    public init(blockThreshold: Int?)