JWCue
@objcMembers
public class JWCue : NSObject, JWJSONEncodable
Defines a point of interest in the content.
-
Undocumented
Declaration
Swift
public let id: String? -
When the cue begins, defined by a number of seconds after the beginning of the content.
Declaration
Swift
public let begin: JWCueTime -
When the cue ends, defined by a number seconds after the beginning o the content.
Declaration
Swift
public let end: JWCueTime? -
Text to display in the timeline.
Declaration
Swift
public let text: String -
The type of cue.
Declaration
Swift
public let type: JWCueType -
Equality testing.
Declaration
Swift
public static func == (lhs: JWCue, rhs: JWCue) -> BoolParameters
lhsThe lefthand value.
rhsThe righthand value.
-
Undocumented
Declaration
Swift
public override func isEqual(_ object: Any?) -> Bool -
Declaration
Swift
public func toJSONObject() -> JSONObject -
Calling this method converts the
JSONObjectinto aJWCue.Declaration
Swift
public static func from(json: JSONObject) -> AnyObject?Return Value
A
JWCueobject, ornilif it does not succeed.
JWCue Class Reference