int minAge
int maxAge
AnswerFormat.ChoiceAnswerStyle answerStyle
Choice<T>[] choices
AnswerFormat.DateAnswerStyle style
java.util.Date defaultDate
java.util.Date minimumDate
java.util.Date maximumDate
float minValue
float maxValue
java.lang.String unit
int step
int maxValue
int minValue
int maximumLength
boolean isMultipleLines
java.lang.String text
java.lang.Object value
java.lang.String detailText
java.lang.String title
The title appears only in the generated PDF for review; it is not used in the visual consent process.
java.util.List<E> sections
If the htmlReviewContent
property is not set, this content is also used to
populate the document for review in the consent review step.
The PDF file contains all sections.
int signaturePageTitle
The title is ignored for visual consent. The title is also ignored if you supply a value for
the htmlReviewContent
property.
java.lang.String signaturePageContent
The content is ignored for visual consent. The content is also ignored if you supply a value
for the htmlReviewContent
property.
java.util.List<E> signatures
To add a signature to the document after consent review, the signatures
array
needs to be modified to incorporate the new signature content prior to PDF generation. For
more information, see `[ORKConsentSignatureResult applyToDocument:]`.
java.lang.String htmlReviewContent
Typically, the review content is generated from the values of the sections
and
signatures
properties.
When this property is set, the review content is reproduced exactly as provided in the
property in the consent review step, and the sections
and
signatures
properties are ignored.
ConsentSection.Type type
The value of this property indicates whether a predefined image, title, and animation are present.
java.lang.String title
The title is displayed as a step title in the animated consent sequence and is also included
in the PDF file, but it can be overridden by setting formalTitle
.
java.lang.String formalTitle
If the value of this property is null
, the value of title
is used
in the legal document instead.
java.lang.String summary
The summary is displayed as description text in the animated consent sequence. The summary should be limited in length, so that the consent can be reliably displayed on smaller screens.
java.lang.String content
In a consent review step or in PDF file generation, the string is printed as the section's content. The string is also displayed as Learn More content in a visual consent step.
This property is never prepopulated based on the value of type
. If both
content
and htmlContent
are non-nil, the value of the
htmlContent
property is used.
java.lang.String escapedContent
java.lang.String htmlContent
content
property if additional formatting
is needed. The content should be localized.
In cases where plain text content is not sufficient to convey important details during the
consent process, you can provide HTML content in this property. When you do this, the
htmlContent
property takes precedence over the content
property.
In a consent review step or in PDF file generation, the value of this property is printed as the section's content; in a visual consent step, the content is displayed as Learn More content.
java.lang.String customImageName
The custom image can override the image associated with any of the predefined section types
for an ConsentVisualStep
object. It is ignored for a
consent review step and for PDF generation.
The image is used in template rendering mode, and is tinted using the tint color.
java.lang.String customLearnMoreButtonTitle
The predefined section types have localized descriptive Learn More button titles for a visual
consent step. When this property is not null
, it overrides that default text.
java.lang.String customAnimationURL
Animations of the illustration between one screen and the next are provided by default for
transitions between consecutive section type
codes. Custom sections and
out-of-order transitions may require custom animations.
The animation loaded from the file URL is played aspect fill in the illustration area for forward transitions only. The video is rendered in template mode, with white treated as if it were transparent.
boolean requiresName
The default value of this property is true
. In a consent review step, the name entry screen is not displayed when the value of this property is false
.
boolean requiresSignatureImage
The default value of this property is true
. In a consent review step, the signature entry
screen is not shown when this property is false
.
boolean requiresBirthDate
The default value of this property is true
. In a consent review step, the name entry screen
is not displayed when the value of this property is false
.
java.lang.String identifier
The identifier should be unique in the document. It can be used to find or
replace a specific signature in an ConsentDocument
object.
java.lang.String title
java.lang.String fullName
java.lang.String signatureImage
java.lang.String signatureDate
java.lang.String signatureDateFormatString
For example, @"yyyy-MM-dd 'at' HH:mm". When the value of this property is `nil`, the current date and time for the current locale is used.
java.lang.String identifier
java.util.Date startDate
java.util.Date endDate
boolean saveable
java.util.Map<K,V> results
AnswerFormat answerFormat
java.util.Map<K,V> results
java.util.UUID uuidTask
android.net.Uri outputDirectory
java.lang.String html
java.lang.String confirmMessage
java.lang.String signatureDateFormat
ConsentSection section
java.lang.String nextButtonString
java.util.List<E> formSteps
AnswerFormat answerFormat
java.lang.String placeholder
java.lang.String identifier
java.lang.Class<T> stepLayoutClass
int stepTitle
boolean optional
java.lang.String title
java.lang.String text
boolean restorable
Task task
boolean shouldTintImages
boolean showsProgress
boolean allowsBackNavigation
boolean useSurveyMode
int id
java.util.Date endDate
java.lang.String chronTime
java.util.List<E> steps
java.lang.String identifier