Method
MalcontentSessionLimitsBuilderset_active_extension
unstable since: 0.14.0
Declaration [src]
void
mct_session_limits_builder_set_active_extension (
MctSessionLimitsBuilder* builder,
uint64_t start_time_secs,
unsigned int duration_secs
)
Description [src]
Set the screen time extension in builder to the given period.
This is used for recording a screen time extension request which has been granted.
If both start_time_secs and duration_secs are zero, the screen time
extension will be cleared. duration_secs must otherwise be non-zero.
This will act on top of any session limits. If no session limits are set, any extension will be ignored.
Available since: 0.14.0