Content

public struct Content : Codable, Equatable

The full input content that the service is to analyze.

  • An array of ContentItem objects that provides the text that is to be analyzed.

    Declaration

    Swift

    public var contentItems: [ContentItem]
  • Initialize a Content with member variables.

    Declaration

    Swift

    public init(
        contentItems: [ContentItem]
    )

    Parameters

    contentItems

    An array of ContentItem objects that provides the text that is to be analyzed.

    Return Value

    An initialized Content.