C# Class Catrobat.IDE.WindowsShared.Services.Common.WebCommunicationServiceWindowsShared

Inheritance: IWebCommunicationService
Afficher le fichier Open project: Catrobat/CatrobatForWindows

Méthodes publiques

Méthode Description
CancelDownloads ( ) : void
ChangePasswordAsync ( string newPassword, string newPasswortRepeated, string language = "en" ) : Task
CheckTokenAsync ( string username, string token, string language = "en" ) : Task
ConvertUnixTimeStamp ( double timestamp ) : System.DateTime
CreateFolderPathAsync ( string path ) : Task
DownloadAsync ( string downloadUrl, string programName, CancellationToken taskCancellationToken ) : Task
DownloadAsyncAlternativ ( string downloadUrl, string programName ) : Task
GetFileAsync ( string path, bool createIfNotExists = true ) : Task
GetFolderAsync ( string path ) : Task
InitDownloads ( ) : void
LoadOnlinePrograms ( string category, int offset, int count, CancellationToken token, string additionalSearchText = null ) : Task>
LoadOnlineProgramsAsync ( string filterText, int offset, int count, CancellationToken taskCancellationToken ) : Task>
LoginOrRegisterAsync ( string username, string password, string userEmail, string language = "en", string country = "AT" ) : Task
NoUploadsPending ( ) : bool
PauseOrResumeDownloads ( ) : void
RecoverPasswordAsync ( string recoveryUserData, string language = "en" ) : Task
ReportAsInappropriateAsync ( string programId, string flagReason, string language = "en" ) : Task
SetRecoveryHash ( string recoveryHash ) : void
UploadProgramAsync ( string programTitle, string username, string token, CancellationToken taskCancellationToken, string language = "en" ) : Task

Private Methods

Méthode Description
ManageDownloadProgress ( DownloadOperation downloadOperation ) : void
ManageDownloadsAsync ( DownloadOperation downloadOperation, bool start ) : void

Method Details

CancelDownloads() public méthode

public CancelDownloads ( ) : void
Résultat void

ChangePasswordAsync() public méthode

public ChangePasswordAsync ( string newPassword, string newPasswortRepeated, string language = "en" ) : Task
newPassword string
newPasswortRepeated string
language string
Résultat Task

CheckTokenAsync() public méthode

public CheckTokenAsync ( string username, string token, string language = "en" ) : Task
username string
token string
language string
Résultat Task

ConvertUnixTimeStamp() public méthode

public ConvertUnixTimeStamp ( double timestamp ) : System.DateTime
timestamp double
Résultat System.DateTime

CreateFolderPathAsync() public méthode

public CreateFolderPathAsync ( string path ) : Task
path string
Résultat Task

DownloadAsync() public méthode

public DownloadAsync ( string downloadUrl, string programName, CancellationToken taskCancellationToken ) : Task
downloadUrl string
programName string
taskCancellationToken System.Threading.CancellationToken
Résultat Task

DownloadAsyncAlternativ() public méthode

public DownloadAsyncAlternativ ( string downloadUrl, string programName ) : Task
downloadUrl string
programName string
Résultat Task

GetFileAsync() public méthode

public GetFileAsync ( string path, bool createIfNotExists = true ) : Task
path string
createIfNotExists bool
Résultat Task

GetFolderAsync() public méthode

public GetFolderAsync ( string path ) : Task
path string
Résultat Task

InitDownloads() public méthode

public InitDownloads ( ) : void
Résultat void

LoadOnlinePrograms() public méthode

public LoadOnlinePrograms ( string category, int offset, int count, CancellationToken token, string additionalSearchText = null ) : Task>
category string
offset int
count int
token System.Threading.CancellationToken
additionalSearchText string
Résultat Task>

LoadOnlineProgramsAsync() public méthode

public LoadOnlineProgramsAsync ( string filterText, int offset, int count, CancellationToken taskCancellationToken ) : Task>
filterText string
offset int
count int
taskCancellationToken System.Threading.CancellationToken
Résultat Task>

LoginOrRegisterAsync() public méthode

public LoginOrRegisterAsync ( string username, string password, string userEmail, string language = "en", string country = "AT" ) : Task
username string
password string
userEmail string
language string
country string
Résultat Task

NoUploadsPending() public méthode

public NoUploadsPending ( ) : bool
Résultat bool

PauseOrResumeDownloads() public méthode

public PauseOrResumeDownloads ( ) : void
Résultat void

RecoverPasswordAsync() public méthode

public RecoverPasswordAsync ( string recoveryUserData, string language = "en" ) : Task
recoveryUserData string
language string
Résultat Task

ReportAsInappropriateAsync() public méthode

public ReportAsInappropriateAsync ( string programId, string flagReason, string language = "en" ) : Task
programId string
flagReason string
language string
Résultat Task

SetRecoveryHash() public méthode

public SetRecoveryHash ( string recoveryHash ) : void
recoveryHash string
Résultat void

UploadProgramAsync() public méthode

public UploadProgramAsync ( string programTitle, string username, string token, CancellationToken taskCancellationToken, string language = "en" ) : Task
programTitle string
username string
token string
taskCancellationToken System.Threading.CancellationToken
language string
Résultat Task