FBSDKGraphRequestDataAttachment Class Reference
Inherits from | NSObject |
Declared in | FBSDKGraphRequestDataAttachment.h |
Overview
A container class for data attachments so that additional metadata can be provided about the attachment.
Properties
contentType
The content type for the attachment.
@property (nonatomic, copy, readonly) NSString *contentType
Declared In
FBSDKGraphRequestDataAttachment.h
Instance Methods
initWithData:filename:contentType:
Initializes the receiver with the attachment data and metadata. - Parameter data: The attachment data (retained, not copied) - Parameter filename: The filename for the attachment - Parameter contentType: The content type for the attachment
- (instancetype)initWithData:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType
Declared In
FBSDKGraphRequestDataAttachment.h