xref: /expo/packages/expo-media-library/ios/EXMediaLibrary/EXSaveToLibraryDelegate.h (revision ae642c8a)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2015-present 650 Industries. All rights reserved.
2 
3 #import <Foundation/Foundation.h>
4 #import <EXMediaLibrary/EXMediaLibrary.h>
5 
6 typedef void(^EXSaveToLibraryCallback)(id asset, NSError *error);
7 
8 @interface EXSaveToLibraryDelegate : NSObject
9 
10 - (void)writeImage:(UIImage *)image withCallback:(EXSaveToLibraryCallback)callback;
11 
12 - (void)writeVideo:(NSString *)movieUrl withCallback:(EXSaveToLibraryCallback) callback;
13 
14 - (void)writeGIF:(NSURL *)gifUrl withCallback:(EXSaveToLibraryCallback)callback;
15 
16 @end
17 

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026