Bio Radio SDK - Xamarin Android: GLNeuroTech.Devices.Common.FileTransfer.IFileStreamProvider Interface Reference

| Bio Radio SDK - Xamarin Android

Public Member Functions | Properties | List of all members
GLNeuroTech.Devices.Common.FileTransfer.IFileStreamProvider Interface Reference

An interface used to create a platform-specific provider for file creation. More...

Inheritance diagram for GLNeuroTech.Devices.Common.FileTransfer.IFileStreamProvider:

## Public Member Functions

Stream | CreateOutputStream (string fileName)
| Callback to create a stream with the specified file name. More...
Stream | GetReceivedFileStream (int index)
| Retrieves a readable stream that has been previously created by the provider. More...

## Properties

int | StreamCount`[get]`
| Returns the number of streams that have been created by this provider. More...

## Detailed Description

An interface used to create a platform-specific provider for file creation.

## Member Function Documentation

## ◆ CreateOutputStream()

Stream GLNeuroTech.Devices.Common.FileTransfer.IFileStreamProvider.CreateOutputStream | ( | string | fileName | ) |

Callback to create a stream with the specified file name.

Parameters

  fileName | The name of the file that should be created.

Returns
  An opened stream ready for writing.

Implemented in GLNeuroTech.Devices.Common.FileTransfer.MemoryFileStreamProvider.

## ◆ GetReceivedFileStream()

Stream GLNeuroTech.Devices.Common.FileTransfer.IFileStreamProvider.GetReceivedFileStream | ( | int | index | ) |

Retrieves a readable stream that has been previously created by the provider.

Parameters

  index |

Returns

Implemented in GLNeuroTech.Devices.Common.FileTransfer.MemoryFileStreamProvider.

## Property Documentation

## ◆ StreamCount

int GLNeuroTech.Devices.Common.FileTransfer.IFileStreamProvider.StreamCount

get

Returns the number of streams that have been created by this provider.