Property | Type | Description | |
---|---|---|---|
CreateMediaRelation | string | ||
EditMediaRelation | string |
Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
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 | ||
return | bool |
public static GetResumableCreateUri ( AtomLinkCollection links ) : |
||
links | AtomLinkCollection | |
return |
public static GetResumableEditUri ( AtomLinkCollection links ) : |
||
links | AtomLinkCollection | |
return |
public InitiateUpload ( |
||
resumableUploadUri | ||
authentication | Authenticator | |
entry | AbstractEntry | |
return |
public InitiateUpload ( |
||
resumableUploadUri | ||
authentication | Authenticator | |
entry | AbstractEntry | |
httpMethod | string | |
return |
public InitiateUpload ( |
||
resumableUploadUri | ||
authentication | Authenticator | |
contentType | string | |
slug | string | |
contentLength | long | |
return |
public InitiateUpload ( |
||
resumableUploadUri | ||
authentication | Authenticator | |
contentType | string | |
slug | string | |
contentLength | long | |
httpMethod | string | |
return |
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 |
return |
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 | |
return |
public InsertAsync ( Authenticator authentication, AbstractEntry payload, object userData ) : void | ||
authentication | Authenticator | |
payload | AbstractEntry | |
userData | object | |
return | void |
public InsertAsync ( Authenticator authentication, |
||
authentication | Authenticator | |
resumableUploadUri | ||
payload | Stream | |
contentType | string | |
slug | string | |
userData | object | |
return | void |
public static QueryStatus ( Authenticator authentication, |
||
authentication | Authenticator | |
targetUri | ||
return | long |
public ResumableUploader ( int chunkSize ) : System | ||
chunkSize | int | the upload chunksize in Megabytes, needs to be greater than 0 |
return | System |
public Resume ( Authenticator authentication, |
||
authentication | Authenticator | |
resumeUri | ||
httpMethod | String | |
payload | Stream | |
contentType | string | |
return |
public ResumeAsync ( Authenticator authentication, |
||
authentication | Authenticator | |
resumeUri | ||
httpmethod | String | |
payload | Stream | |
contentType | string | |
userData | object | |
return | 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 |
return |
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 |
return |
public UpdateAsync ( Authenticator authentication, AbstractEntry payload, object userData ) : void | ||
authentication | Authenticator | |
payload | AbstractEntry | |
userData | object | |
return | void |
public UpdateAsync ( Authenticator authentication, |
||
authentication | Authenticator | |
resumableUploadUri | ||
payload | Stream | |
contentType | string | |
userData | object | |
return | void |
public UploadStream ( string httpMethod, |
||
httpMethod | string | |
sessionUri | ||
authentication | Authenticator | |
payload | Stream | |
mediaType | string | |
data | AsyncData | |
return |
public static string CreateMediaRelation | ||
return | string |