ContentTransfer
Properties
- direction : ContentTransfer.Direction
- items : list<ContentItem>
- selectionType : ContentTransfer.SelectionType
- state : ContentTransfer.State
- store : string
Methods
Detailed Description
See documentation for ContentHub
Property Documentation
ContentTransfer.Direction is an enumeration: | |
---|---|
Direction | Description |
ContentTransfer.Import | Transfer is a request to import content. |
ContentTransfer.Export | Transfer is a request to export content. |
items : list<ContentItem> |
List of items included in the ContentTransfer
ContentTransfer.SelectionType is an enumeration: | |
---|---|
Type | Description |
ContentTransfer.Single | Transfer should contain a single item. |
ContentTransfer.Multiple | Transfer can contain multiple items. |
ContentTransfer.State is an enumeration: | |
---|---|
State | Description |
ContentTransfer.Created | Transfer created, waiting to be initiated. |
ContentTransfer.Initiated | Transfer has been initiated. |
ContentTransfer.InProgress | Transfer is in progress. |
ContentTransfer.Charged | Transfer is charged with items and ready to be collected. |
ContentTransfer.Collected | Items in the transfer have been collected. |
ContentTransfer.Aborted | Transfer has been aborted. |
ContentTransfer.Finalized | Transfer has been finished and cleaned up. |
ContentStore where the ContentTransfer will add items
Method Documentation
Sets State to ContentTransfer.Finalized and cleans up temporary files
Start the transfer, this sets the State to ContentTransfer.Initiated