Clapper.Harvest – clapper-0.0 Reference Manual
Packages
clapper-0.0
Clapper
Harvest
Harvest
fill
fill_with_bytes
fill_with_text
headers_set_value
set_expiration_date_utc
set_expiration_seconds
tags_add_value
toc_add
Harvest
Object Hierarchy:
Description:
[
CCode
( type_id =
"clapper_harvest_get_type ()"
) ]
[
Version
( since =
"0.8"
) ]
public
class
Harvest
:
Object
An object storing data from enhancers that implement [iface@Clapper.
Extractable] interface.
Namespace:
Clapper
Package:
clapper-0.0
Content:
Creation methods:
protected
Harvest
()
Methods:
public
bool
fill
(
string
media_type,
owned
uint8
[] data)
Fill harvest with extracted data.
public
bool
fill_with_bytes
(
string
media_type,
owned
Bytes
bytes)
A convenience method to fill
this
with data from
Bytes
.
public
bool
fill_with_text
(
string
media_type,
owned
string
text)
A convenience method to fill
this
using a
null
terminated string.
public
void
headers_set_value
(
string
key,
Value
value)
Set another header in the request headers list using
Value
.
public
void
set_expiration_date_utc
(
DateTime
date_utc)
Set date in UTC time until harvested content is expected to stay alive.
public
void
set_expiration_seconds
(
double
seconds)
Set amount of seconds for how long harvested content is expected to stay alive.
public
void
tags_add_value
(
string
tag,
Value
value)
Append another tag into the tag list using
Value
.
public
void
toc_add
(
TocEntryType
type,
string
title,
double
start,
double
end)
Append a chapter or track name into table of contents.
Inherited Members:
All known members inherited from class Gst.Object
@lock
@ref
add_control_binding
check_uniqueness
deep_notify
default_deep_notify
default_error
flags
get_control_binding
get_control_rate
get_g_value_array
get_name
get_parent
get_path_string
get_value
has_active_control_bindings
has_ancestor
has_as_ancestor
has_as_parent
name
parent
remove_control_binding
replace
set_control_binding_disabled
set_control_bindings_disabled
set_control_rate
set_name
set_parent
suggest_next_sync
sync_values
unparent
unref
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