File metadata is a component used in RawFile object imports and is often taken advantage of for [[Cloud Spawning]].
This component has two [[Sync Delegate|sync delegates]] which import and export data from a [[Component:StaticBinary|Static Binary Component]] on the same slot.
<!--T:2-->
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Filename|String|
|Filename|String| The name of the file, usually followed by .brson or .7bson
|MIME|String|
|MIME|String| see [https://en.wikipedia.org/wiki/Media_type Media Types (MIME)]
|IsProcessing|Bool|
|IsProcessing|Bool| whether this component is currently processing an import or export action asynchronously.
}}
== Sync Delegates ==
{{Table ComponentTriggers
|OnImportFile:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| See [[Cloud Spawning]].
|OnExportFile:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| See [[Cloud Spawning]].
}}
}}
<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
See [[Cloud Spawning]].
<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
Usually used in RawFile object imports created by importing files from a local computer.
<!--T:5-->
<!--T:5-->
== Related Components ==
== Related Components ==
* [[Component:StaticBinary|Static Binary]]
== See Also ==
== See Also ==
[https://en.wikipedia.org/wiki/Media_type Media Types (MIME)]
[https://en.wikipedia.org/wiki/Media_type Media Types (MIME)]