RSDImagePickerStepObject
public struct RSDImagePickerStepObject : RSDImagePickerStep, Codable
A concrete implementation for a RSDImagePickerStep
.
-
The unique identifier for this step.
Declaration
Swift
public let identifier: String
-
The step type is
.imagePicker
by default.Declaration
Swift
public private(set) var stepType: RSDStepType { get }
-
What source should be used for picking an image?
Declaration
Swift
public var sourceType: RSDImagePickerSourceType?
-
What are the allowed media types?
Declaration
Swift
public var mediaTypes: [RSDImagePickerMediaType]?
-
The step type for this step is a file.
Declaration
Swift
public func instantiateStepResult() -> RSDResult
-
Do nothing.
Declaration
Swift
public func validate() throws