Instance Property


An array of in-progress file transfers.


var outstandingFileTransfers: [WCSessionFileTransfer] { get }


This property contains the WCSessionFileTransfer objects representing the files that are queued for delivery but have not yet been delivered to the counterpart. You can use the objects to cancel specific file transfers.

See Also

Transferring Files in the Background

func transferFile(URL, metadata: [String : Any]?) -> WCSessionFileTransfer

Sends the specified file and optional dictionary to the counterpart.

var hasContentPending: Bool

A Boolean value that indicates whether the session has more content to deliver.