Local File
fun LocalFile( file: File, mime: String?, thumbnail: LocalFile.Thumbnail?, progressHandler: MessageClient.ProgressHandler?)
Content copied to clipboard
Constructs a LocalFile object out of a local java.io.File.
Since
2.1.0
Parameters
file
An existing local file.
mime
The MIME type of the file, according to RFC6838.
thumbnail
The thumbnail for the local file. If not null, the thumbnail will be uploaded with the local file.
progress Handler
The progress indicator callback for uploading progresses.