Behavior

public struct Behavior : Codable, Equatable

The temporal behavior for the input content.

  • The unique, non-localized identifier of the characteristic to which the results pertain. IDs have the form behavior_{value}.

    Declaration

    Swift

    public var traitID: String
  • The user-visible, localized name of the characteristic.

    Declaration

    Swift

    public var name: String
  • The category of the characteristic: behavior for temporal data.

    Declaration

    Swift

    public var category: String
  • For JSON content that is timestamped, the percentage of timestamped input data that occurred during that day of the week or hour of the day. The range is 0 to 1.

    Declaration

    Swift

    public var percentage: Double