SDK Reference v2.0.0 / SurveyTaskStatus

SurveyTaskStatus

struct SurveyTaskStatus : RawRepresentable, Equatable, Hashable, Codable

Describes the status of a survey task assigned to a participant.


RawValue
associatedtype RawValue
incomplete
static let incomplete: MyDataHelpsKit.SurveyTaskStatus

Task is open and incomplete.

complete
static let complete: MyDataHelpsKit.SurveyTaskStatus

Task was completed.

closed
static let closed: MyDataHelpsKit.SurveyTaskStatus

Task was closed without being completed.

rawValue
let rawValue: String

The raw value for the task status as stored in MyDataHelps.

init(rawValue:)
init(rawValue: String)

Initializes a SurveyTaskStatus with an arbitrary value. Consider using static members such as SurveyTaskStatus.incomplete instead for known values.

rawValue

The raw value for the task status as stored in MyDataHelps.