Go to the documentation of this file. 15 #ifndef SHAKA_EMBEDDED_MEDIA_VTT_CUE_H_ 16 #define SHAKA_EMBEDDED_MEDIA_VTT_CUE_H_ 21 #include "../macros.h" 149 VTTCue(
double start_time,
double end_time,
const std::string& text);
160 std::string id()
const;
162 void SetId(
const std::string&
id);
164 double start_time()
const;
166 void SetStartTime(
double time);
168 double end_time()
const;
170 void SetEndTime(
double time);
172 bool pause_on_exit()
const;
174 void SetPauseOnExit(
bool pause);
184 bool snap_to_lines()
const;
186 void SetSnapToLines(
bool snap);
194 void SetLine(
double line);
196 double position()
const;
198 void SetPosition(
double position);
206 void SetSize(
double size);
212 std::string text()
const;
214 void SetText(
const std::string& text);
218 mutable std::mutex mutex_;
238 #endif // SHAKA_EMBEDDED_VTT_CUE_H_