getMediaType

@Nullable
abstract fun getMediaType(): @Nullable String(source)

Media type of the file, if known. This is used to declare the general type of data provided by the file.

A media type may be provided by the publishing test or omitted. Some files, like directories, do not have a conventional media type.

Return

media type, may be null

Since

9.4.0