Inherits from NSObject
Declared in FBSDKGraphRequestDataAttachment.h

Properties

contentType

The content type for the attachment.

@property (nonatomic, copy, readonly) NSString *contentType

Declared In

FBSDKGraphRequestDataAttachment.h

data

The attachment data.

@property (nonatomic, strong, readonly) NSData *data

Declared In

FBSDKGraphRequestDataAttachment.h

filename

The filename for the attachment.

@property (nonatomic, copy, readonly) NSString *filename

Declared In

FBSDKGraphRequestDataAttachment.h

Instance Methods

initWithData:filename:contentType:

Initializes the receiver with the attachment data and metadata.

- (instancetype)initWithData:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType

Parameters

data

The attachment data (retained, not copied)

filename

The filename for the attachment

contentType

The content type for the attachment

Declared In

FBSDKGraphRequestDataAttachment.h