ADPhotoKit Documentation

Structure ADConstraint​Params

public struct ADConstraintParams  

Parsing the input Set<ADPhotoSelectParams> to ADConstraintParams and pass through the internal methods.

Properties

max​Count

public var maxCount: Int? 

Limit the max count you can select. Set nil means no limit. Default is no limit.

min​Image​Count

public var minImageCount: Int? 

Limit the min image count you can select. Set nil means no limit. Default is no limit.

max​Image​Count

public var maxImageCount: Int? 

Limit the max image count you can select. Set nil means no limit. Default is no limit.

min​Video​Count

public var minVideoCount: Int? 

Limit the min video count you can select. Set nil means no limit. Default is no limit.

max​Video​Count

public var maxVideoCount: Int? 

Limit the max video count you can select. Set nil means no limit. Default is no limit.

min​Video​Time

public var minVideoTime: Int? 

Limit the min video time you can select. Set nil means no limit. Default is no limit.

max​Video​Time

public var maxVideoTime: Int? 

Limit the max video time you can select. Set nil means no limit. Default is no limit.

min​Record​Time

public var minRecordTime: Int? 

Limit the min video time you can record. Set nil means no limit. Default is no limit.

max​Record​Time

public var maxRecordTime: Int? 

Limit the max video time you can record. Set nil means no limit. Default is no limit.