PHImageManager.RequestLivePhoto 方法

定义

[Foundation.Export("requestLivePhotoForAsset:targetSize:contentMode:options:resultHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 1, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual int RequestLivePhoto (Photos.PHAsset asset, CoreGraphics.CGSize targetSize, Photos.PHImageContentMode contentMode, Photos.PHLivePhotoRequestOptions options, Photos.PHImageManagerRequestLivePhoto resultHandler);
abstract member RequestLivePhoto : Photos.PHAsset * CoreGraphics.CGSize * Photos.PHImageContentMode * Photos.PHLivePhotoRequestOptions * Photos.PHImageManagerRequestLivePhoto -> int
override this.RequestLivePhoto : Photos.PHAsset * CoreGraphics.CGSize * Photos.PHImageContentMode * Photos.PHLivePhotoRequestOptions * Photos.PHImageManagerRequestLivePhoto -> int

参数

asset
PHAsset
targetSize
CGSize
contentMode
PHImageContentMode
options
PHLivePhotoRequestOptions

内容待定。

此参数可以为 null

返回

属性

适用于