react-native-fast-image/ios/FastImage/FFFastImageSource.h

23 lines
526 B
Objective-C

#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, FFFPriority) {
FFFPriorityLow,
FFFPriorityNormal,
FFFPriorityHigh
};
/**
* Object containing an image URL and associated metadata.
*/
@interface FFFastImageSource : NSObject
@property (nonatomic) NSURL* uri;
@property (nonatomic) FFFPriority priority;
@property (nonatomic) NSDictionary *headers;
- (instancetype)initWithURL:(NSURL *)url
priority:(FFFPriority)priority
headers:(NSDictionary *)headers;
@end