Skip to content

ADPhotoManager_AssetResultType

duzexu edited this page Jun 1, 2021 · 2 revisions

ADPhotoManager.AssetResultType

Type of fetch result.

public enum AssetResultType 

Enumeration Cases

image

Fetch result by UIImage.

case image(size: CGSize?, resizeMode: PHImageRequestOptionsResizeMode = .fast, synchronous: Bool = false)

Parameters

  • size: Size of the image fetch, If nil, will fetch original image.
  • resizeMode: Image resize mode.
  • synchronous: Return only a single result, blocking until available (or failure).

originImageData

Fetch result by original Data.

case originImageData

livePhoto

Fetch result by PHLivePhoto.

case livePhoto

video

Fetch result by AVPlayerItem.

case video

assert

Fetch result by AVAsset.

case assert

filePath

Fetch result by filePath.

case filePath
Types
Protocols
Global Typealiases
Operators
Extensions
Clone this wiki locally