Inherits from Bit6Transfer : NSObject
Declared in Bit6Transfer.h

Overview

A Bit6OutgoingTransfer object represents an outgoing peer to peer data transfer.

Instance Methods

initWithData:name:mimeType:

Initializes a Bit6OutgoingTransfer object.

- (nonnull instancetype)initWithData:(nonnull NSData *)data name:(nullable NSString *)name mimeType:(nonnull NSString *)mimeType

Parameters

data

data to send.

name

name of the file. If nil a random name is given.

mimeType

MIME type of the file to send.

Return Value

a Bit6OutgoingTransfer object.

Declared In

Bit6Transfer.h