//library/com.uploadcare.android.library.upload/UrlUploader/saveDuplicates

saveDuplicates

[androidJvm]
Content
fun saveDuplicates(saveDuplicates: Boolean): UrlUploader
More info

Save duplicates upon file uploading.

Parameters

androidJvm

Name Summary
saveDuplicates

Provides the save/update URL behavior. The parameter can be used if you believe a source_url will be used more than once. If you don’t explicitly define “saveDuplicates”, it is by default set to the value of “checkDuplicates”.

[androidJvm]
Content
fun saveDuplicates(filename: String): UrlUploader
More info

Sets the name for a file uploaded from URL. If not defined, the filename is obtained from either response headers or a source URL.

Parameters

androidJvm

Name Summary
filename

name for a file uploaded from URL.