Свойство | Тип | Описание | |
---|---|---|---|
CreateMediaRelation | string | ||
EditMediaRelation | string |
Метод | Описание | |
---|---|---|
GetResumableCreateUri ( AtomLinkCollection links ) : |
returns the resumabled create media Uri for a given entry
|
|
GetResumableEditUri ( AtomLinkCollection links ) : |
returns the resumable edit media Uri for a given entry
|
|
InitiateUpload ( |
retrieves the resumable URI for the rest of the operation. This will initiate the communication with resumable upload server by posting against the starting URI
|
|
InitiateUpload ( |
retrieves the resumable URI for the rest of the operation. This will initiate the communication with resumable upload server by posting against the starting URI
|
|
InitiateUpload ( |
retrieves the resumable URI for the rest of the operation. This will initiate the communication with resumable upload server by posting against the starting URI
|
|
InitiateUpload ( |
retrieves the resumable URI for the rest of the operation. This will initiate the communication with resumable upload server by posting against the starting URI
|
|
Insert ( Authenticator authentication, AbstractEntry payload ) : |
Uploads an entry, including it's media to the uri given inside the entry.
|
|
Insert ( Authenticator authentication, |
Uploads just the media media to the uri given.
|
|
InsertAsync ( Authenticator authentication, AbstractEntry payload, object userData ) : void | ||
InsertAsync ( Authenticator authentication, |
||
QueryStatus ( Authenticator authentication, |
asks the server about the current status
|
|
ResumableUploader ( ) : System |
Default constructor. Uses the default chunksize of 25 megabyte
|
|
ResumableUploader ( int chunkSize ) : System |
ResumableUploader constructor.
|
|
Resume ( Authenticator authentication, |
||
ResumeAsync ( Authenticator authentication, |
||
Update ( Authenticator authentication, AbstractEntry payload ) : |
Uploads an entry, including its media to the uri given inside the entry
|
|
Update ( Authenticator authentication, |
Uploads just the media to the uri given.
|
|
UpdateAsync ( Authenticator authentication, AbstractEntry payload, object userData ) : void | ||
UpdateAsync ( Authenticator authentication, |
||
UploadStream ( string httpMethod, |
Note the URI passed in here, is the session URI obtained by InitiateUpload
|
Метод | Описание | |
---|---|---|
CopyData ( Stream input, |
takes our copy of the stream, and puts it into the request stream returns FALSE when we are done by reaching the end of the input stream
|
Метод | Описание | |
---|---|---|
AsyncInsertWorker ( |
worker method for the the resumable insert
|
|
AsyncResumeWorker ( |
worker method to handle the resume operation
|
|
AsyncStarter ( |
starts the async job
|
|
AsyncUpdateWorker ( |
worker method for the resumable update
|
|
GetStreamLength ( Stream s ) : long | ||
Insert ( Authenticator authentication, AbstractEntry payload, AsyncData data ) : |
||
Insert ( Authenticator authentication, |
||
PrepareRequest ( |
||
PrepareRequest ( |
||
Resume ( Authenticator authentication, |
||
Update ( Authenticator authentication, AbstractEntry payload, AsyncData data ) : |
||
Update ( Authenticator authentication, |
||
UploadStreamPart ( int partIndex, string httpMethod, |
protected CopyData ( Stream input, |
||
input | Stream | |
request | ||
partIndex | int | |
data | AsyncData | |
requestId | ||
Результат | bool |
public static GetResumableCreateUri ( AtomLinkCollection links ) : |
||
links | AtomLinkCollection | |
Результат |
public static GetResumableEditUri ( AtomLinkCollection links ) : |
||
links | AtomLinkCollection | |
Результат |
public InitiateUpload ( |
||
resumableUploadUri | ||
authentication | Authenticator | |
entry | AbstractEntry | |
Результат |
public InitiateUpload ( |
||
resumableUploadUri | ||
authentication | Authenticator | |
entry | AbstractEntry | |
httpMethod | string | |
Результат |
public InitiateUpload ( |
||
resumableUploadUri | ||
authentication | Authenticator | |
contentType | string | |
slug | string | |
contentLength | long | |
Результат |
public InitiateUpload ( |
||
resumableUploadUri | ||
authentication | Authenticator | |
contentType | string | |
slug | string | |
contentLength | long | |
httpMethod | string | |
Результат |
public Insert ( Authenticator authentication, AbstractEntry payload ) : |
||
authentication | Authenticator | The authentication information to be used |
payload | AbstractEntry | The entry to be uploaded. This is a complete entry, including the metadata. /// This will create a new entry on the service |
Результат |
public Insert ( Authenticator authentication, |
||
authentication | Authenticator | The authentication information to be used |
resumableUploadUri | ||
payload | Stream | The media to uploaded. |
contentType | string | The type of the content, e.g. text/html |
slug | string | |
Результат |
public InsertAsync ( Authenticator authentication, AbstractEntry payload, object userData ) : void | ||
authentication | Authenticator | |
payload | AbstractEntry | |
userData | object | |
Результат | void |
public InsertAsync ( Authenticator authentication, |
||
authentication | Authenticator | |
resumableUploadUri | ||
payload | Stream | |
contentType | string | |
slug | string | |
userData | object | |
Результат | void |
public static QueryStatus ( Authenticator authentication, |
||
authentication | Authenticator | |
targetUri | ||
Результат | long |
public ResumableUploader ( int chunkSize ) : System | ||
chunkSize | int | the upload chunksize in Megabytes, needs to be greater than 0 |
Результат | System |
public Resume ( Authenticator authentication, |
||
authentication | Authenticator | |
resumeUri | ||
httpMethod | String | |
payload | Stream | |
contentType | string | |
Результат |
public ResumeAsync ( Authenticator authentication, |
||
authentication | Authenticator | |
resumeUri | ||
httpmethod | String | |
payload | Stream | |
contentType | string | |
userData | object | |
Результат | void |
public Update ( Authenticator authentication, AbstractEntry payload ) : |
||
authentication | Authenticator | The authentication information to be used |
payload | AbstractEntry | The entry to be uploaded. This is a complete entry, including the metadata. /// This will create a new entry on the service |
Результат |
public Update ( Authenticator authentication, |
||
authentication | Authenticator | The authentication information to be used |
resumableUploadUri | ||
payload | Stream | The media to uploaded. |
contentType | string | The type of the content, e.g. text/html |
Результат |
public UpdateAsync ( Authenticator authentication, AbstractEntry payload, object userData ) : void | ||
authentication | Authenticator | |
payload | AbstractEntry | |
userData | object | |
Результат | void |
public UpdateAsync ( Authenticator authentication, |
||
authentication | Authenticator | |
resumableUploadUri | ||
payload | Stream | |
contentType | string | |
userData | object | |
Результат | void |
public UploadStream ( string httpMethod, |
||
httpMethod | string | |
sessionUri | ||
authentication | Authenticator | |
payload | Stream | |
mediaType | string | |
data | AsyncData | |
Результат |
public static string CreateMediaRelation | ||
Результат | string |