ResourceUploader
public class ResourceUploader : MediaOperation
Resource uploader, containing info on a resource upload task.
Seealso
MediaStore.newUploader
-
Media item with which uploaded resource files will be associated.
Declaration
Swift
public let targetMedia: MediaItem
-
Total number of resources to upload.
Declaration
Swift
public let totalResourceCount: Int
-
Number of already uploaded resources.
Declaration
Swift
public let uploadedResourceCount: Int
-
Current file upload between 0.0 (0%) and 1.0 (100%).
Declaration
Swift
public let currentFileProgress: Float
-
Total upload progress between 0.0 (0%) and 1.0 (100%).
Declaration
Swift
public let totalProgress: Float
-
Upload progress status.
Declaration
Swift
public let status: MediaTaskStatus
-
Url of the file currenlty being uploaded, or
nil
if not uploading.Declaration
Swift
public let currentFileUrl: URL?