MediaItem.from_file


Description:

[ CCode ( has_construct_function = false ) ]
public MediaItem.from_file (File file)

Creates new MediaItem from File .

Same as [ctor@Clapper.MediaItem.new], but uses a [iface@Gio.File] for convenience in some situations instead of an URI.

Parameters:

file

a File

Returns:

a new MediaItem.