# TextSummarizerMode

    enum TextSummarizerMode: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable

The mode of the text summarizer.
- `
  ### [keyPoints](https://developers.google.com/edge/api/mediapipe/swift/text/Enums/TextSummarizerMode.md.txt#/c:_E_MPPTextSummarizerMode_MPPTextSummarizerModeKeyPoints)

  ` Generate Key Points.

  #### Declaration

  Swift

      case keyPoints

- `
  ### [tldr](https://developers.google.com/edge/api/mediapipe/swift/text/Enums/TextSummarizerMode.md.txt#/c:_E_MPPTextSummarizerMode_MPPTextSummarizerModeTLDR)

  ` Generate a TLDR summary.

  #### Declaration

  Swift

      case tldr

- `
  ### [init(rawValue:)](https://developers.google.com/edge/api/mediapipe/swift/text/Enums/TextSummarizerMode.md.txt#/s:So21MPPTextSummarizerModeV8rawValueABSgSi_tcfc)

  `

  #### Declaration

  Swift

      init?(rawValue: Int)