ResourceList Event
Fires once for each resource returned when listing resources.
Syntax
public open class DefaultAzurefileEventListener : AzurefileEventListener { ... public override fun resourceList(e: AzurefileResourceListEvent) {} ... } public class AzurefileResourceListEvent { val name: String? val path: String? val share: String? val resourceType: Int val modifiedTime: String? val size: Long val eTag: String? }
Remarks
This event fires once for each resource returned when ListResources, GetFileInfo, or GetFolderInfo is called.
Name is the name of the resource.
Path is the full path of the resource (not including the share).
Share is the name of the share the resource resides in.
ResourceType reflects the resource's type. Possible values are:
0 (afrtFile) | A file. |
1 (afrtFolder) | A folder. |
ModifiedTime is the last modified time of the resource, formatted according to RFC 1123. (Note: this parameter is not populated by calls to ListResources.)
Size is the size of the file. Always 0 for folders.
ETag is the ETag of the resource. (Note: this parameter is not populated by calls to ListResources.)