Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/photos.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1150,6 +1150,10 @@ interface PHLivePhotoEditingContext {
[Export ("prepareLivePhotoForPlaybackWithTargetSize:options:completionHandler:")]
void _PrepareLivePhotoForPlayback (CGSize targetSize, [NullAllowed] NSDictionary options, Action<PHLivePhoto, NSError> handler);

[Async]
[Wrap ("_PrepareLivePhotoForPlayback (targetSize, null, handler)")]
void PrepareLivePhotoForPlayback (CGSize targetSize, Action<PHLivePhoto, NSError> handler);

[Async]
[Wrap ("_PrepareLivePhotoForPlayback (targetSize, (NSDictionary)options, handler)", IsVirtual = true)]
void PrepareLivePhotoForPlayback (CGSize targetSize, [NullAllowed] NSDictionary<NSString, NSObject> options, Action<PHLivePhoto, NSError> handler);
Expand All @@ -1166,6 +1170,10 @@ interface PHLivePhotoEditingContext {
[Export ("saveLivePhotoToOutput:options:completionHandler:")]
void _SaveLivePhoto (PHContentEditingOutput output, [NullAllowed] NSDictionary options, Action<bool, NSError> handler);

[Async]
[Wrap ("_SaveLivePhoto (output, null, handler)")]
void SaveLivePhoto (PHContentEditingOutput output, Action<bool, NSError> handler);

[Async]
[Wrap ("_SaveLivePhoto (output, options, handler)", IsVirtual = true)]
void SaveLivePhoto (PHContentEditingOutput output, [NullAllowed] NSDictionary<NSString, NSObject> options, Action<bool, NSError> handler);
Expand Down