Поделиться через


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.

Возвращаемое значение

Атрибуты

Применяется к