Share via


PHLivePhotoEditingContext.PrepareLivePhotoForPlaybackAsync Metodo

Definizione

Overload

PrepareLivePhotoForPlaybackAsync(CGSize)

Prepara in modo asincrono una foto live modificata per la riproduzione, restituendo un'attività che fornisce la foto live.

PrepareLivePhotoForPlaybackAsync(CGSize, NSDictionary<NSString,NSObject>)

Prepara in modo asincrono una foto live modificata per la riproduzione, restituendo un'attività che fornisce la foto live.

PrepareLivePhotoForPlaybackAsync(CGSize, PHLivePhotoEditingOption)

Prepara in modo asincrono una foto live modificata per la riproduzione, restituendo un'attività che fornisce la foto live.

PrepareLivePhotoForPlaybackAsync(CGSize)

Prepara in modo asincrono una foto live modificata per la riproduzione, restituendo un'attività che fornisce la foto live.

public System.Threading.Tasks.Task<Photos.PHLivePhoto> PrepareLivePhotoForPlaybackAsync (CoreGraphics.CGSize targetSize);
member this.PrepareLivePhotoForPlaybackAsync : CoreGraphics.CGSize -> System.Threading.Tasks.Task<Photos.PHLivePhoto>

Parametri

targetSize
CGSize

Dimensioni della visualizzazione di output di destinazione.

Restituisce

Si applica a

PrepareLivePhotoForPlaybackAsync(CGSize, NSDictionary<NSString,NSObject>)

Prepara in modo asincrono una foto live modificata per la riproduzione, restituendo un'attività che fornisce la foto live.

public virtual System.Threading.Tasks.Task<Photos.PHLivePhoto> PrepareLivePhotoForPlaybackAsync (CoreGraphics.CGSize targetSize, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options);
abstract member PrepareLivePhotoForPlaybackAsync : CoreGraphics.CGSize * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> System.Threading.Tasks.Task<Photos.PHLivePhoto>
override this.PrepareLivePhotoForPlaybackAsync : CoreGraphics.CGSize * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> System.Threading.Tasks.Task<Photos.PHLivePhoto>

Parametri

targetSize
CGSize

Dimensioni della visualizzazione di output di destinazione.

options
NSDictionary<NSString,NSObject>

Opzioni di elaborazione foto live. Questo parametro può essere .

Restituisce

Attività che rappresenta l'operazione PrepareLivePhotoForPlayback asincrona. Il valore del parametro TResult è di tipo Action<Photos.PHLivePhoto,Foundation.NSError>.

Si applica a

PrepareLivePhotoForPlaybackAsync(CGSize, PHLivePhotoEditingOption)

Prepara in modo asincrono una foto live modificata per la riproduzione, restituendo un'attività che fornisce la foto live.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public System.Threading.Tasks.Task<Photos.PHLivePhoto> PrepareLivePhotoForPlaybackAsync (CoreGraphics.CGSize targetSize, Photos.PHLivePhotoEditingOption options);
member this.PrepareLivePhotoForPlaybackAsync : CoreGraphics.CGSize * Photos.PHLivePhotoEditingOption -> System.Threading.Tasks.Task<Photos.PHLivePhoto>

Parametri

targetSize
CGSize

Dimensioni della visualizzazione di output di destinazione.

options
PHLivePhotoEditingOption

Opzioni di elaborazione foto live.

Questo parametro può essere null.

Restituisce

Attributi

Si applica a