BookmarkFile.setMimeType

Sets @mime_type as the MIME type of the bookmark for @uri.

If a bookmark for @uri cannot be found then it is created.

class BookmarkFile
void
setMimeType
(
string uri
,
string mimeType
)

Parameters

uri string

a valid URI

mimeType string

a MIME type

Meta

Since

2.12