EndTransfer Event
Fired when a file transfer completes.
Syntax
func onEndTransfer(direction: Int32, fileId: String, filename: String, success: Bool)
Remarks
When a file transfer completes this event will fire.
The Direction parameter shows whether the client (0) or the server (1) is sending the data.