Navigation
API > API/Plugins > API/Plugins/ConcertSyncCore > API/Plugins/ConcertSyncCore/IConcertFileSharingService
- IConcertFileSharingService::CreateReader()
- FConcertLocalFileSharingService::CreateReader()
References
| Module | ConcertSyncCore |
| Header | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/IConcertFileSharingService.h |
| Include | #include "IConcertFileSharingService.h" |
TSharedPtr < FArchive > CreateReader
(
const FString & InFileId
)
Remarks
Open a shared file for consumption.
The function can be used to poll until the resources is fully available. A more sophisticated API could be added to wait for a ressource if needed later. An archive (loading mode) to stream the content of the file or nullptr if the file could not be found or opened.
Parameters
| Name | Description |
|---|---|
| InFileId | The Id of the file to read. The consumer is expected to receives this ID through the Concert transport layer (request/response/event). |