Class

WCSessionFileTransfer

Information about in-progress file transfers.

Declaration

@interface WCSessionFileTransfer : NSObject

Overview

You do not create instances of this class yourself. When you initiate a file transfer, the system creates a new file transfer object to represent the transferred file. Use that object to get the file information or to cancel the transfer as needed.

To initiate a file transfer operation, call the transferFile:metadata: method of your app’s WCSession object.

Topics

Getting the File Information

file

The file being transferred.

Managing the File Transfer

transferring

A Boolean value indicating whether the file is still being transferred.

progress

An object that tracks the progress of the file transfer.

- cancel

Cancels the file transfer.

Relationships

Inherits From

See Also

Data Objects

WCSessionFile

Information about a file currently being transferred between an iOS app and WatchKit extension.

WCSessionUserInfoTransfer

Information about in-progress data transfers.