Interface ProductCatalogEditor.IProductCatalogExporter
Product catalog exporters implement this interface to provide validation and export of a ProductCatalog.
Namespace: UnityEditor.Purchasing
Assembly: solution.dll
Syntax
public interface ProductCatalogEditor.IProductCatalogExporter
Properties
| Name | Description |
|---|---|
| DefaultFileName | The default file name of the catalog export. |
| DisplayName | The display name of the catalog. |
| FileExtension | The file extension of the catalog export. |
| FilesToCopy | Files to copy to the final directory, ex. screenshots on iOS |
| MandatoryExportFolder | Required specific path for output file. Is optional whether user will be permitted to save a copy to a separate path in addition to this required path. |
| SaveCompletePackage | True if the exporter should save an entire package/folder (specified by MandatoryExportFolder and FilesToCopy, not just a single file. This will present a Directory picker, not a File picker. The DefaultFileName will be used for the main file in the MandatoryExportFolder, and any FilesToCopy will be placed in that folder as well. |
| StoreName | The name of the store to be exported. |
Methods
| Name | Description |
|---|---|
| Export(ProductCatalog) | Exports the product catalog. |
| NormalizeToType(ProductCatalog) | Normalizes the product catalog for export to the base type. Fixes issues targeting this exporter's implempentation. |
| Validate(ProductCatalog) | Validates the product catalog for export. |
| Validate(ProductCatalogItem) | Validates the product catalog item for export. |