TchekSDK Documentation

Class Tchek​Fast​Track​Builder

public class TchekFastTrackBuilder  

The builder used for customizing the features of Fast Track

Usage:

let builder = TchekFastTrackBuilder(tchekId: "any-tchek-id", delegate: delegate) { builder in
builder.navBarBg = .purple
builder.navBarText = .red
...
}

Initializers

init(tchek​Id:​tchek​Report​Client​Info:​delegate:​ui:​)

public init(tchekId: String,
				tchekReportClientInfo: TchekReportClientInfo? = nil,
				delegate: TchekFastTrackDelegate,
				ui: ((TchekFastTrackBuilder) -> Void)? = nil)  

Primary constructor

Parameters

tchek​Id String

Id of the Tchek the FastTrack will be performed on

tchek​Report​Client​Info Tchek​Report​Client​Info?

The client info to save in report

delegate Tchek​Fast​Track​Delegate

Delegate that will be notified of events from the FastTrack flow

ui ((Tchek​Fast​Track​Builder) -> Void)?

Lambda to easily set-up the builder

Properties

fast​Track​Bg

public var fastTrackBg: UIColor

The background color of Fast Track

damages​List​Bg

public var damagesListBg: UIColor

The background color of Damages List

nav​Bar​Bg

public var navBarBg: UIColor

The navigation bar color

nav​Bar​Text

public var navBarText: UIColor

The navigation bar text color

card​Bg

public var cardBg: UIColor

The background color of card

page​Indicator​Dot

public var pageIndicatorDot: UIColor

The page control indicator color

page​Indicator​Dot​Selected

public var pageIndicatorDotSelected: UIColor

The page control indicator selected color

damage​Confidence0

public var damageConfidence0: UIColor

The background color of damage confidence low

damage​Confidence​Text0

public var damageConfidenceText0: UIColor

The text color of damage confidence low

damage​Confidence1

public var damageConfidence1: UIColor

The background color of damage confidence medium

damage​Confidence​Text1

public var damageConfidenceText1: UIColor

The text color of damage confidence medium

damage​Confidence2

public var damageConfidence2: UIColor

The background color of damage confidence high

damage​Confidence​Text2

public var damageConfidenceText2: UIColor

The text color of damage confidence high

damage​Type

public var damageType: UIColor

The background color of damage type

damage​Type​Text

public var damageTypeText: UIColor

The text color of damage type

damage​Location

public var damageLocation: UIColor

The background color of damage location

damage​Location​Text

public var damageLocationText: UIColor

The text color of damage location

damage​Date

public var damageDate: UIColor

The background color of damage date

damage​Date​Text

public var damageDateText: UIColor

The text color of damage date

damage​New

public var damageNew: UIColor

The background color of damage tag "new"

damage​New​Text

public var damageNewText: UIColor

The text color of damage tag "new"

damage​Old

public var damageOld: UIColor

The background color of damage tag "old"

damage​Old​Text

public var damageOldText: UIColor

The text color of damage tag "old"

fast​Track​Text

public var fastTrackText: UIColor

The main text color of Fast Track

damages​List​Text

public var damagesListText: UIColor

The main text color of Damages List

damage​Cell​Text

public var damageCellText: UIColor

The damage cell text color

damage​Cell​Border

public var damageCellBorder: UIColor

The damage cell border color

vehicle​Pattern​Stroke

public var vehiclePatternStroke: UIColor

The stroke color of vehicle pattern

vehicle​Pattern​Damage​Fill

public var vehiclePatternDamageFill: UIColor

The fill color of damage on vehicle pattern

vehicle​Pattern​Old​Damage​Fill

public var vehiclePatternOldDamageFill: UIColor

The fill color of old damage on vehicle pattern

vehicle​Pattern​Damage​Stroke

public var vehiclePatternDamageStroke: UIColor

The stroke color of damage on vehicle pattern

btn​Add​Extra​Damage

public var btnAddExtraDamage: UIColor

The button color of Add extra damage

btn​Add​Extra​Damage​Text

public var btnAddExtraDamageText: UIColor

The text button color of Add extra damage

btn​Create​Report

public var btnCreateReport: UIColor

The button color of Create Report

btn​Create​Report​Text

public var btnCreateReportText: UIColor

The text button color of Create Report

btn​Validate​Extra​Damage

public var btnValidateExtraDamage: UIColor

The button color of Validate extra damage

btn​Validate​Extra​Damage​Text

public var btnValidateExtraDamageText: UIColor

The text button color of Validate extra damage

btn​Delete​Extra​Damage

public var btnDeleteExtraDamage: UIColor

The button color of Delete extra damage

btn​Delete​Extra​Damage​Text

public var btnDeleteExtraDamageText: UIColor

The text button color of Delete extra damage

btn​Edit​Damage

public var btnEditDamage: UIColor

The button color of Edit damage

btn​Edit​Damage​Text

public var btnEditDamageText: UIColor

The text button color of Edit extra damage