ToneCategory
public struct ToneCategory : Codable, Equatable
The category for a tone from the input content.
-
The unique, non-localized identifier of the category for the results. The service can return results for the following category IDs:
emotion_tone,language_tone, andsocial_tone.Declaration
Swift
public var categoryID: String -
The user-visible, localized name of the category.
Declaration
Swift
public var categoryName: String
View on GitHub
ToneCategory Structure Reference