C# Class CrossBox.Core.DropBox.DropboxClient

Inheritance: IDropBoxClient
Mostrar archivo Open project: runegri/CrossBox

Public Methods

Method Description
AuthenticatedCallback ( ) : void
EnsureIsAuthenticated ( System.Action onSuccess, Action onError ) : void
GetFileContent ( string path, Action onSuccess, Action onError ) : void
GetFolderContent ( string folder, Action onSuccess, Action onError ) : void
UploadFile ( string path, string fileName, byte content, Action onSuccess, Action onError ) : void

Protected Methods

Method Description
DropboxClient ( string apiKey, string appSecret ) : System

Method Details

AuthenticatedCallback() public method

public AuthenticatedCallback ( ) : void
return void

DropboxClient() protected method

protected DropboxClient ( string apiKey, string appSecret ) : System
apiKey string
appSecret string
return System

EnsureIsAuthenticated() public abstract method

public abstract EnsureIsAuthenticated ( System.Action onSuccess, Action onError ) : void
onSuccess System.Action
onError Action
return void

GetFileContent() public method

public GetFileContent ( string path, Action onSuccess, Action onError ) : void
path string
onSuccess Action
onError Action
return void

GetFolderContent() public method

public GetFolderContent ( string folder, Action onSuccess, Action onError ) : void
folder string
onSuccess Action
onError Action
return void

UploadFile() public method

public UploadFile ( string path, string fileName, byte content, Action onSuccess, Action onError ) : void
path string
fileName string
content byte
onSuccess Action
onError Action
return void