getIconRes

abstract fun getIconRes(mimeType: String?): Int

Returns a drawable resource for the given MIME type.

Return

The drawable resource for the given MIME type.

Parameters

mimeType

The MIME type (i.e. application/pdf).