Download.allowOverwrite

Set allowOverwrite property.

  1. bool allowOverwrite [@property getter]
  2. bool allowOverwrite [@property setter]
    class Download
    @property
    void
    allowOverwrite
    (
    bool propval
    )

Parameters

propval bool

Whether or not the download is allowed to overwrite an existing file on disk. If this property is false and the destination already exists, the download will fail.