RSDTaskGroup

public protocol RSDTaskGroup

RSDTaskGroup defines a subgrouping of tasks. This is used in UI presentations where the researchers wish to tie a group of activities and surveys together but allow the user to perform them non-sequentially or with a break between the activities.

  • A short string that uniquely identifies the task group.

    Declaration

    Swift

    var identifier: String
  • A list of the task references included in this group.

    Declaration

    Swift

    var tasks: [RSDTaskInfoStep]
  • The primary text to display for the task group in a localized string.

    Declaration

    Swift

    var title: String?
  • Additional detail text to display for the task group in a localized string.

    Declaration

    Swift

    var detail: String?
  • An icon image that can be used for displaying the task group.

    Declaration

    Swift

    func fetchIcon(for size: CGSize, callback: @escaping ((UIImage?) -> Void))

    Parameters

    size

    The size of the image to return.

    callback

    The callback with the image, run on the main thread.