Method

ClapperHarvestset_expiration_date_utc

since: 0.10

Declaration [src]

void
clapper_harvest_set_expiration_date_utc (
  ClapperHarvest* harvest,
  GDateTime* date_utc
)

Description [src]

Set date in UTC time until harvested content is expected to stay alive.

This is used for harvest caching, so next time user requests to play the same URI, recently harvested data can be reused without the need to run Clapper.ExtractableInterface.extract again.

Available since: 0.10

Parameters

date_utc

Type: GDateTime

A GDateTime in UTC time.

The data is owned by the caller of the method.