C# 클래스 KidoZen.Files

파일 보기 프로젝트 열기: kidozen/kido-xamarin 1 사용 예제들

공개 메소드들

메소드 설명
Browse ( string path = "/" ) : Task>

Browse afolder

Delete ( string path = "/" ) : Task>

Deletes a file

Download ( string path, System.TimeSpan timeout = null ) : Task>

Downloads a file

Upload ( Stream stream, string path, System.TimeSpan timeout = null ) : Task>

Uploads a file

비공개 메소드들

메소드 설명
Files ( KZApplication app, Uri endpoint ) : KidoZen.authentication
buildBrowseUrl ( string path ) : Uri
buildDeleteUrl ( string path ) : Uri
buildDownloadUrl ( string path ) : Uri
buildUploadUrl ( string path, string &fileName ) : Uri

메소드 상세

Browse() 공개 메소드

Browse afolder
public Browse ( string path = "/" ) : Task>
path string Folder's URL. The URL must ends with character '/'
리턴 Task>

Delete() 공개 메소드

Deletes a file
public Delete ( string path = "/" ) : Task>
path string File's URL.
리턴 Task>

Download() 공개 메소드

Downloads a file
public Download ( string path, System.TimeSpan timeout = null ) : Task>
path string Source file's URL
timeout System.TimeSpan Optional timeout.
리턴 Task>

Upload() 공개 메소드

Uploads a file
public Upload ( Stream stream, string path, System.TimeSpan timeout = null ) : Task>
stream Stream File's stream
path string Target full path. It must contains the destination folder and the file name. (ie: /folder/subfolder/subfolder/filename)
timeout System.TimeSpan Optional timeout.
리턴 Task>