![]() |
Bio Radio SDK - Xamarin Android
|
Memory file stream provider. More...
Public Member Functions | |
void | Dispose () |
Releases all resource used by the GLNeuroTech.Devices.Common.FileTransfer.MemoryFileStreamProvider object. More... | |
System.IO.Stream | CreateOutputStream (string fileName) |
Callback to create a stream with the specified file name. More... | |
System.IO.Stream | GetReceivedFileStream (int index) |
Retrieves a readable stream that has been previously created by the provider. More... | |
MemoryFileStreamProvider () | |
Initializes a new instance of the GLNeuroTech.Devices.Common.FileTransfer.MemoryFileStreamProvider class. More... | |
Properties | |
int | StreamCount [get] |
Returns the number of streams that have been created by this provider. More... | |
![]() | |
int | StreamCount [get] |
Returns the number of streams that have been created by this provider. More... | |
Memory file stream provider.
GLNeuroTech.Devices.Common.FileTransfer.MemoryFileStreamProvider.MemoryFileStreamProvider | ( | ) |
Initializes a new instance of the GLNeuroTech.Devices.Common.FileTransfer.MemoryFileStreamProvider class.
System.IO.Stream GLNeuroTech.Devices.Common.FileTransfer.MemoryFileStreamProvider.CreateOutputStream | ( | string | fileName | ) |
Callback to create a stream with the specified file name.
fileName | The name of the file that should be created. |
Implements GLNeuroTech.Devices.Common.FileTransfer.IFileStreamProvider.
void GLNeuroTech.Devices.Common.FileTransfer.MemoryFileStreamProvider.Dispose | ( | ) |
Releases all resource used by the GLNeuroTech.Devices.Common.FileTransfer.MemoryFileStreamProvider object.
Call Dispose when you are finished using the GLNeuroTech.Devices.Common.FileTransfer.MemoryFileStreamProvider. The Dispose method leaves the GLNeuroTech.Devices.Common.FileTransfer.MemoryFileStreamProvider in an unusable state. After calling Dispose, you must release all references to the GLNeuroTech.Devices.Common.FileTransfer.MemoryFileStreamProvider so the garbage collector can reclaim the memory that the GLNeuroTech.Devices.Common.FileTransfer.MemoryFileStreamProvider was occupying.
System.IO.Stream GLNeuroTech.Devices.Common.FileTransfer.MemoryFileStreamProvider.GetReceivedFileStream | ( | int | index | ) |
Retrieves a readable stream that has been previously created by the provider.
index |
Implements GLNeuroTech.Devices.Common.FileTransfer.IFileStreamProvider.
|
get |
Returns the number of streams that have been created by this provider.
The stream count.