cancelRequest
TypeScriptstatic cancelRequest(requestID: number): voidSwift declarationclass func cancelRequest(withRequestID requestID: PHLivePhotoRequestID)class · iOS 9.1+ · SDK 27.1
class PHLivePhotostatic cancelRequest(requestID: number): voidSwift declarationclass func cancelRequest(withRequestID requestID: PHLivePhotoRequestID)static request(fileURLs: Array<string>, image: (_UIKit_UIImage) | null, targetSize: { width: number; height: number }, contentMode: PHImageContentMode, resultHandler: ((arg0: (PHLivePhoto) | null, arg1: NativeMap<unknown, unknown>) => void)): numberSwift declarationclass func request(withResourceFileURLs fileURLs: [URL], placeholderImage image: UIImage?, targetSize: CGSize, contentMode: PHImageContentMode, resultHandler: @escaping (PHLivePhoto?, [AnyHashable : Any]) -> Void) -> PHLivePhotoRequestIDget size(): { width: number; height: number }Swift declarationvar size: CGSize { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
PHLivePhoto.init()
inherited init: clang: 'init' is unavailable