ORKConsentSharingStep Class Reference

Inherits from ORKQuestionStep : ORKStep : NSObject
Declared in ORKConsentSharingStep.h

The ORKConsentSharingStep class represents a question step that includes prepopulated content that asks users about how much they’re willing to allow data to be shared after collection.

To use the consent sharing step, include it in a task and present that task with a task view controller. It’s easy to incorporate a consent sharing step into the review flow, because it provides default content for its title, text, and answer format.

– initWithIdentifier:investigatorShortDescription:investigatorLongDescription:localizedLearnMoreHTMLContent:

Returns an initialized consent sharing step using the specified title, text, and answer format.

- (instancetype)initWithIdentifier:(NSString *)identifier investigatorShortDescription:(NSString *)investigatorShortDescription investigatorLongDescription:(NSString *)investigatorLongDescription localizedLearnMoreHTMLContent:(NSString *)localizedLearnMoreHTMLContent

Parameters

identifier

The identifier of the step.

investigatorShortDescription

A short description of the investigator in a localized string. For example, “Stanford Medicine” or “American Heart Association.”

investigatorLongDescription

An extended description of the investigator and partners in a localized string. For example, “Stanford and its partners.”

localizedLearnMoreHTMLContent

The HTML content to display when the user taps the Learn More button.

Return Value

An initialized consent sharing step.

Declared In

ORKConsentSharingStep.h

  localizedLearnMoreHTMLContent

Localized HTML content to present in the Learn More section for the step.

@property (nonatomic, copy) NSString *localizedLearnMoreHTMLContent

Declared In

ORKConsentSharingStep.h