Audacity 3.2.0
Public Types | Public Attributes | List of all members
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 54 of file UploadService.h.

Member Typedef Documentation

◆ Payload

Definition at line 78 of file UploadService.h.

Member Enumeration Documentation

◆ Result

Result of the upload.


Upload was successful.


Upload was aborted by the user.


Specified file is not found.


Authorization is required.

InvalidData has failed to understand what Audacity wants


Audacity has failed to understand response.


Upload failed for some other reason.

Definition at line 57 of file UploadService.h.

58 {
60 Success,
62 Aborted,
64 FileNotFound,
66 Unauthorized,
68 InvalidData,
70 UnexpectedResponse,
72 UploadFailed
73 };

Member Data Documentation

◆ payload

Payload cloud::audiocom::UploadOperationCompleted::payload

Operation payload.

Definition at line 85 of file UploadService.h.

◆ result

Result cloud::audiocom::UploadOperationCompleted::result

Upload result.

Definition at line 76 of file UploadService.h.

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