Instance Method

cancel()

Cancels the data transfer.

Declaration

func cancel()

Discussion

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

See Also

Managing the Transfer Operation

var isTransferring: Bool

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