Instance Method


Cancels the file transfer.


func cancel()


Use this method to cancel a file transfer before it completes. If the file has already been transferred, calling this method has no effect.

See Also

Managing the File Transfer

var isTransferring: Bool

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

var progress: Progress

An object that tracks the progress of the file transfer.