Enumerations

The following enumerations are available globally.

  • Codable enum for the auto-capitalization type for an input text field.

    • keywords: [none, words, sentences, allCharacters]
    See more

    Declaration

    Swift

    public enum RSDTextAutocapitalizationType : String, Codable
  • Codable enum for the auto-capitalization type for an input text field.

    • keywords: [default, no, yes"]
    See more

    Declaration

    Swift

    public enum RSDTextAutocorrectionType : String, Codable
  • Codable enum for the spell checking type for an input text field.

    • keywords: [default, no, yes"]
    See more

    Declaration

    Swift

    public enum RSDTextSpellCheckingType  : String, Codable
  • Codable enum for the spell checking type for an input text field.

    • keywords: [ default, asciiCapable, numbersAndPunctuation, URL, numberPad, phonePad, namePhonePad, emailAddress, decimalPad, twitter, webSearch, asciiCapableNumberPad]
    See more

    Declaration

    Swift

    public enum RSDKeyboardType  : String, Codable
  • The possible errors thrown when fetching a task.

    See more

    Declaration

    Swift

    public enum RSDTaskFetchError : Error
  • The RSDUIActionType enum describes standard navigation actions that are common to a given UI step. It is extendable using the custom field.

    See more

    Declaration

    Swift

    public enum RSDUIActionType
  • List of rules creating the survey rule items.

    See more

    Declaration

    Swift

    public enum RSDSurveyRuleOperator: String, Codable
  • RSDFormDataType is used to describe the data type for a form input. This is different from the RSDAnswerResultType which is a struct that can be used to encode and decode the input field answer value. This describes the type of information required by the input field.

    See more

    Declaration

    Swift

    public enum RSDFormDataType
  • RSDResourceTransformerError is used to support throwing errors when attempting to transform a resource.

    See more

    Declaration

    Swift

    public enum RSDResourceTransformerError : Error, CustomNSError
  • Standard permission types.

    Note

    This framework intentionally does not include any direct reference to Health Kit. First, including Health Kit in applications that do not use that SDK makes it confusing and difficult for researchers to set up the app. Second, the goal of this framework is to include a model that is platform-agnostic and can be used independently of the device. (syoung 11/1/7/2017)
    See more

    Declaration

    Swift

    public enum RSDStandardPermissionType: String, RSDPermissionType, Codable
  • A hint as to where the UI should place an image.

    See more

    Declaration

    Swift

    public enum RSDImagePlacementType : String, Codable
  • RSDValidationError errors are thrown during validation of a task, step, etc. Usually this happens during the decoding of the task or when the task is first started.

    See more

    Declaration

    Swift

    public enum RSDValidationError : Error