RSDImagePickerStep
public protocol RSDImagePickerStep : RSDStandardPermissionsStep
The image picker step protocol implements a step that is
-
What source should be used for picking an image? If nil, the default is
.camera.Declaration
Swift
var sourceType: RSDImagePickerSourceType? { get } -
What are the allowed media types?
Declaration
Swift
var mediaTypes: [RSDImagePickerMediaType]? { get }
-
defaultSourceType()Extension methodThe default source type is
.camera.Declaration
Swift
public func defaultSourceType() -> RSDImagePickerSourceType -
defaultMediaTypes()Extension methodThe default media types are
[.photo].Declaration
Swift
public func defaultMediaTypes() -> [RSDImagePickerMediaType] -
standardPermissionsExtension methodThe standard permissions for this picker are determined by the source type.
Declaration
Swift
public var standardPermissions: [RSDStandardPermission]? { get }
View on GitHub
RSDImagePickerStep Protocol Reference