JWCue

@objcMembers
public class JWCue : NSObject, JWJSONEncodable

Defines a point of interest in the content.

  • id

    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
  • end

    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) -> Bool

    Parameters

    lhs

    The lefthand value.

    rhs

    The righthand value.

  • Undocumented

    Declaration

    Swift

    public override func isEqual(_ object: Any?) -> Bool
  • Declaration

    Swift

    public func toJSONObject() -> JSONObject
  • Calling this method converts the JSONObject into a JWCue.

    Declaration

    Swift

    public static func from(json: JSONObject) -> AnyObject?

    Return Value

    A JWCue object, or nil if it does not succeed.