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

#include <UploadService.h>

Public Types

enum class  Result {
  Success , Aborted , FileNotFound , Unauthorized ,
  InvalidData , UnexpectedResponse , UploadFailed
}
 Result of the upload. More...
 
using Payload = std::variant< std::monostate, UploadSuccessfulPayload, UploadFailedPayload >
 

Public Attributes

Result result
 Upload result. More...
 
Payload payload
 Operation payload. More...
 

Detailed Description

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

Definition at line 57 of file UploadService.h.

Member Typedef Documentation

◆ Payload

Definition at line 81 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 60 of file UploadService.h.

61 {
63 Success,
65 Aborted,
67 FileNotFound,
71 InvalidData,
75 UploadFailed
76 };

Member Data Documentation

◆ payload

Payload audacity::cloud::audiocom::UploadOperationCompleted::payload

Operation payload.

Definition at line 88 of file UploadService.h.

◆ result

Result audacity::cloud::audiocom::UploadOperationCompleted::result

Upload result.

Definition at line 79 of file UploadService.h.


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