| | |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | /** |
| | | 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. |
| | | NS_SWIFT_NAME(GraphRequestDataAttachment) |
| | | @interface FBSDKGraphRequestDataAttachment : NSObject |
| | | |
| | |
| | | + (instancetype)new NS_UNAVAILABLE; |
| | | |
| | | /** |
| | | Initializes the receiver with the attachment data and metadata. |
| | | 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; |
| | | |
| | | /** |
| | | The content type for the attachment. |
| | | */ |
| | | /// The content type for the attachment. |
| | | @property (nonatomic, readonly, copy) NSString *contentType; |
| | | |
| | | /** |
| | | The attachment data. |
| | | */ |
| | | /// The attachment data. |
| | | @property (nonatomic, readonly, strong) NSData *data; |
| | | |
| | | /** |
| | | The filename for the attachment. |
| | | */ |
| | | /// The filename for the attachment. |
| | | @property (nonatomic, readonly, copy) NSString *filename; |
| | | |
| | | @end |