| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | /*! |
| | | @abstract A container class for data attachments so that additional metadata can be provided about the attachment. |
| | | /** |
| | | A container class for data attachments so that additional metadata can be provided about the attachment. |
| | | */ |
| | | @interface FBSDKGraphRequestDataAttachment : NSObject |
| | | |
| | | /*! |
| | | @abstract Initializes the receiver with the attachment data and metadata. |
| | | - (instancetype)init NS_UNAVAILABLE; |
| | | + (instancetype)new NS_UNAVAILABLE; |
| | | |
| | | /** |
| | | Initializes the receiver with the attachment data and metadata. |
| | | @param data The attachment data (retained, not copied) |
| | | @param filename The filename for the attachment |
| | | @param contentType The content type for the attachment |
| | |
| | | contentType:(NSString *)contentType |
| | | NS_DESIGNATED_INITIALIZER; |
| | | |
| | | /*! |
| | | @abstract The content type for the attachment. |
| | | /** |
| | | The content type for the attachment. |
| | | */ |
| | | @property (nonatomic, copy, readonly) NSString *contentType; |
| | | |
| | | /*! |
| | | @abstract The attachment data. |
| | | /** |
| | | The attachment data. |
| | | */ |
| | | @property (nonatomic, strong, readonly) NSData *data; |
| | | |
| | | /*! |
| | | @abstract The filename for the attachment. |
| | | /** |
| | | The filename for the attachment. |
| | | */ |
| | | @property (nonatomic, copy, readonly) NSString *filename; |
| | | |