MatchShot

public struct MatchShot : XMLRepresentable

Undocumented

  • The shot types to match.

    Declaration

    Swift

    public var shotTypes: [ShotType]
  • A Boolean value indicating whether the shot type match is enabled.

    Declaration

    Swift

    public var isEnabled: Bool
  • The rule to use for the shot type match.

    Declaration

    Swift

    public var rule: Rule
  • Initializes a new shot type match.

    Declaration

    Swift

    public init(rule: Rule = .includesAny, shotTypes: [ShotType])

    Parameters

    rule

    The rule to use for the shot type match, includesAny by default.

    shotTypes

    The shot types to match.