C# Class MediaElementWithHttpClient.HttpRandomAccessStream

Inheritance: IRandomAccessStream
Exibir arquivo Open project: kiewic/MediaElementWithHttpClient Class Usage Examples

Public Methods

Method Description
CloneStream ( ) : IRandomAccessStream
CreateAsync ( HttpClient client, Uri uri ) : IAsyncOperation
Dispose ( ) : void
FlushAsync ( ) : Windows.Foundation.IAsyncOperation
GetInputStreamAt ( ulong position ) : IInputStream
GetOutputStreamAt ( ulong position ) : IOutputStream
ReadAsync ( Windows.Storage.Streams.IBuffer buffer, uint count, InputStreamOptions options ) : IAsyncOperationWithProgress,Windows.Foundation
Seek ( ulong position ) : void
WriteAsync ( Windows.Storage.Streams.IBuffer buffer ) : IAsyncOperationWithProgress,Windows.Foundation

Private Methods

Method Description
HttpRandomAccessStream ( HttpClient client, Uri uri ) : System
SendRequesAsync ( ) : System.Threading.Tasks.Task

Method Details

CloneStream() public method

public CloneStream ( ) : IRandomAccessStream
return IRandomAccessStream

CreateAsync() static public method

static public CreateAsync ( HttpClient client, Uri uri ) : IAsyncOperation
client HttpClient
uri Uri
return IAsyncOperation

Dispose() public method

public Dispose ( ) : void
return void

FlushAsync() public method

public FlushAsync ( ) : Windows.Foundation.IAsyncOperation
return Windows.Foundation.IAsyncOperation

GetInputStreamAt() public method

public GetInputStreamAt ( ulong position ) : IInputStream
position ulong
return IInputStream

GetOutputStreamAt() public method

public GetOutputStreamAt ( ulong position ) : IOutputStream
position ulong
return IOutputStream

ReadAsync() public method

public ReadAsync ( Windows.Storage.Streams.IBuffer buffer, uint count, InputStreamOptions options ) : IAsyncOperationWithProgress,Windows.Foundation
buffer Windows.Storage.Streams.IBuffer
count uint
options InputStreamOptions
return IAsyncOperationWithProgress,Windows.Foundation

Seek() public method

public Seek ( ulong position ) : void
position ulong
return void

WriteAsync() public method

public WriteAsync ( Windows.Storage.Streams.IBuffer buffer ) : IAsyncOperationWithProgress,Windows.Foundation
buffer Windows.Storage.Streams.IBuffer
return IAsyncOperationWithProgress,Windows.Foundation