Audacity 3.2.0
Public Types | Public Attributes | List of all members
cloud::audiocom::UploadOperationCompleted Struct Referencefinal

#include <UploadService.h>

Collaboration diagram for cloud::audiocom::UploadOperationCompleted:
[legend]

Public Types

enum class  Result {
  Success , Aborted , FileNotFound , Unauthorized ,
  InvalidData , UnexpectedResponse , UploadFailed
}
 Result of the upload. More...
 

Public Attributes

Result result
 Upload result. More...
 
std::string errorMessage
 Error message if result is not Success. More...
 
std::string finishUploadURL
 URL to open in browser to finish up the anonymous upload. More...
 
std::string audioSlug
 "Slug" to be used for shareable URL construction More...
 

Detailed Description

Message that is sent when upload is finished. This message is sent from the network thread.

Definition at line 25 of file UploadService.h.

Member Enumeration Documentation

◆ Result

Result of the upload.

Enumerator
Success 

Upload was successful.

Aborted 

Upload was aborted by the user.

FileNotFound 

Specified file is not found.

Unauthorized 

Authorization is required.

InvalidData 

audio.com has failed to understand what Audacity wants

UnexpectedResponse 

Audacity has failed to understand audio.com response.

UploadFailed 

Upload failed for some other reason.

Definition at line 28 of file UploadService.h.

29 {
31 Success,
33 Aborted,
35 FileNotFound,
37 Unauthorized,
39 InvalidData,
41 UnexpectedResponse,
43 UploadFailed
44 };

Member Data Documentation

◆ audioSlug

std::string cloud::audiocom::UploadOperationCompleted::audioSlug

"Slug" to be used for shareable URL construction

Definition at line 55 of file UploadService.h.

◆ errorMessage

std::string cloud::audiocom::UploadOperationCompleted::errorMessage

Error message if result is not Success.

Definition at line 50 of file UploadService.h.

◆ finishUploadURL

std::string cloud::audiocom::UploadOperationCompleted::finishUploadURL

URL to open in browser to finish up the anonymous upload.

Definition at line 53 of file UploadService.h.

◆ result

Result cloud::audiocom::UploadOperationCompleted::result

Upload result.

Definition at line 47 of file UploadService.h.


The documentation for this struct was generated from the following file: