ComponentBagItem


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "3.58" ) ]
public ComponentBagItem (Client client, Component comp, uint min_duration_minutes, Timezone? timezone)

Creates a new ComponentBagItem, which will have prefilled all members except of those for the user data.

The min_duration_minutes is used to define the minimum duration, in minutes, the item should have set. Any smaller duration is increased to it.

The span_index member is always zero here.

When the timezone is null, the UTC is assumed.

Parameters:

client

an Client

comp

an Component

min_duration_minutes

minimum duration, in minutes

timezone

an Timezone to calculate the start time for, or null

Returns:

a new ComponentBagItem