ListFilesEventSchema
Lists the files directly inside directory in the client's own file storage; subdirectories and the files inside them are skipped. Each returned path is relative to the storage root — the same form GetFile and DeleteFiles take as fileName — so it can be passed straight to them. Not recursive.
incomingData consumed: not used.
Triggers fired:
OnSuccessEventTrigger— when the directory holds at least one file; theList<String>of file paths is passed as incomingData.OnEmptyDirEventTrigger— when the directory exists but holds no files. No data is passed downstream.OnFailureEventTrigger— when the directory doesn't exist (the cause is aDirNotFoundException) or the listing failed; theThrowableis passed as incomingData and the error is logged.
Constructors
Properties
This event's own children — each declaring, via its own trigger, which of this event's outgoing triggers runs it. null when this event declares no children.
The condition that must occur for this event to run — matched by structural equality (data class/data object equality) against whatever trigger value fired, never by any kind of subscription or listener registry.