Packages
poppler-glib
Poppler
Media
Media
get_auto_play
get_filename
get_mime_type
get_repeat_count
get_show_controls
is_embedded
save
save_to_callback
save_to_fd
Media
Object Hierarchy:
Poppler.Media
Poppler.Media
Poppler.Media
GLib.Object
GLib.Object
GLib.Object->Poppler.Media
Description:
[
CCode
( type_id =
"poppler_media_get_type ()"
) ]
public
sealed
class
Media
:
Object
Namespace:
Poppler
Package:
poppler-glib
Content:
Creation methods:
protected
Media
()
Methods:
public
bool
get_auto_play
()
Returns the auto-play parameter.
public
unowned
string
get_filename
()
Returns the media clip filename, in case of non-embedded media.
public
unowned
string
get_mime_type
()
Returns the media clip mime-type
public
float
get_repeat_count
()
Returns the repeat count parameter.
public
bool
get_show_controls
()
Returns the show controls parameter.
public
bool
is_embedded
()
Whether the media clip is embedded in the PDF.
public
bool
save
(
string
filename)
throws
Error
Saves embedded stream of
this
to a file indicated by
filename
.
public
bool
save_to_callback
(
MediaSaveFunc
save_func)
throws
Error
Saves embedded stream of
this
by feeding the produced data to
save_func
.
public
bool
save_to_fd
(
int
fd)
throws
Error
Saves embedded stream of
this
to a file referred to by
fd
.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref