Information about a file currently being transferred between an iOS app and WatchKit extension.
- iOS 9.0+
- watchOS 2.0+
You do not create instances of this class directly. When you initiate a file transfer using the
transfer method of your app’s
WCSession object, the session creates an instance when it queues the file for transfer. You can get a list of in-progress transfers initiated by your app from the session’s
outstanding property. When a file is received by your app, the corresponding file object is delivered directly to your session’s delegate.
The file object includes the URL of the file on the local system and an optional dictionary of keys and values that accompany the file.