Inherits from NSObject
Declared in Bit6Transfer.h

Overview

A Bit6Transfer object represents a peer to peer data transfer.

Tasks

Properties

callController

Reference to the callController related to this transfer.

@property (nullable, nonatomic, weak, readonly) Bit6CallController *callController

Declared In

Bit6Transfer.h

data

For <Bit6TransferType_OUTGOING> transfers this is the data to be sent. For <Bit6TransferType_INCOMING> transfers this is the data received at the moment.

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

Declared In

Bit6Transfer.h

error

Transfer error. It’s nil if state != Bit6TransferState_ENDED_WITH_ERROR.

@property (nullable, nonatomic, readonly) NSError *error

Declared In

Bit6Transfer.h

mimeType

MIME type of the file.

@property (nonnull, nonatomic, readonly) NSString *mimeType

Declared In

Bit6Transfer.h

name

File name.

@property (nonnull, nonatomic, readonly) NSString *name

Declared In

Bit6Transfer.h

offset

Amount of data sent. Only for <Bit6TransferType_OUTGOING>.

@property (nonatomic, readonly) NSUInteger offset

Declared In

Bit6Transfer.h

progress

Transfer progress as a value between 0 and 1.

@property (nonatomic, readonly) CGFloat progress

Declared In

Bit6Transfer.h

size

Size of an outgoing file or final size of an incoming file.

@property (nonatomic, readonly) NSUInteger size

Declared In

Bit6Transfer.h

state

Sender state as a value of the Bit6TransferState enumeration.

@property (nonatomic, readonly) Bit6TransferState state

Declared In

Bit6Transfer.h

type

Sender type as a value of the Bit6TransferType enumeration.

@property (nonatomic, readonly) Bit6TransferType type

Declared In

Bit6Transfer.h