Structures

The following structures are available globally.

  • Represents your customer account as an SDK user

    See more

    Declaration

    Swift

    public struct Account : CustomDebugStringConvertible
    extension Account: Codable
    extension Account: Equatable
  • User configuration for an Algorithm where needed.

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

    See more

    Declaration

    Swift

    public struct AlgorithmConfig
  • Moderation output data

    See more

    Declaration

    Swift

    public struct Analysis
  • An individual inference

    See more

    Declaration

    Swift

    public struct Inference
  • The output from successful moderation.

    See more

    Declaration

    Swift

    public struct ModeratorSuccess
  • Moderation performance data

    See more

    Declaration

    Swift

    public struct Meta
  • A simple logger which wraps NSLog and may be initialised with any log level

    See more

    Declaration

    Swift

    public struct ConsoleLogger : Logging
  • A very simple logger to null. Allows logging to be completely disabled.

    See more

    Declaration

    Swift

    public struct NullLogger : Logging