Range
Object Hierarchy:
Description:
[ CCode ( has_type_id = false ) ]
[ GIR ( name = "RTSPRange" ) ]
public struct Range
Provides helper functions to deal with time ranges.
Content:
Static methods:
- public static bool convert_units (TimeRange range, RangeUnit unit)
Converts the range in-place between different types of units.
- public static void free (TimeRange range)
Free the memory allocated by range
.
- public static bool get_times (TimeRange range, out ClockTime min, out ClockTime max)
Retrieve the minimum and maximum values from range
converted to ClockTime in min
and max
.
- public static Result parse (string rangestr, out TimeRange range)
- public static string to_string (TimeRange range)
Convert range
into a string representation.
Fields: