Caption
open class Caption : NSObject
Container object for the caption specification.
-
String representation of the URL of the caption WebVTT file
The default value is an empty string
Declaration
Swift
open var url: String
-
Name of the language to display in the caption picker
The default value is an empty string
Declaration
Swift
open var language: String
-
Creates a new instance of the class with it’s default values
Declaration
Swift
public override init()
-
Creates a new instance of the class with the specified values
Declaration
Swift
public convenience init(url: String, language: String)
Parameters
url
String representation of the WebVTT file URL
language
String representation of the name of the language