JWExternalMetadata
@objcMembers
public class JWExternalMetadata : NSObject
Metadata that can be passed externally to supplement the encoded metadata of the underlying media asset.
-
A unique identifier used to identify metadata when it surfaces.
Declaration
Swift
public let identifier: String -
Start time of the external metadata.
Declaration
Swift
public let startTime: TimeInterval -
End time of the external metadata.
Declaration
Swift
public let endTime: TimeInterval -
Initializer for creating metadata.
Declaration
Swift
public init(identifier: String, startTime: TimeInterval, endTime: TimeInterval)Parameters
identifierA string used to identify the metadata.
startTimeThe number of seconds into the content when the metadata should be reported.
endTimeThe number of seconds into the content when the metadata information ends.
-
Overridden to provide more accurate value comparisons.
Declaration
Swift
public override func isEqual(_ object: Any?) -> Bool
JWExternalMetadata Class Reference