Brought up to date with the private repository (feea4c7)

This commit is contained in:
S committed 2026-10-14 20:57:33 +03:00
1 parent 1aa738d692
commit 1b1df1ae48
7925 files changed
+2617237 -20

No files matched your search

@@ -0,0 +1,44 @@
package org.osmf.captioning.model
{
public class CaptionFormat
{
public static const UNDEFINED_INDEX:int = -1;
private static const MISSING_STYLE_ERROR_MSG:String = "CaptionStyle is required for CaptionFormat objects";
private var _startIndex:int;
private var _endIndex:int;
private var _style:CaptionStyle;
public function CaptionFormat(param1:CaptionStyle, param2:int = -1, param3:int = -1)
{
super();
if(param1 == null)
{
throw new ArgumentError("CaptionStyle is required for CaptionFormat objects");
}
_startIndex = param2;
_endIndex = param3;
_style = param1;
}
public function get startIndex() : int
{
return _startIndex;
}
public function get endIndex() : int
{
return _endIndex;
}
public function get style() : CaptionStyle
{
return _style;
}
}
}