encode(_:forKey:)
Encodes a given Core Media time range structure and associates it with a specified key.
Declaration
func encode(_ timeRange: CMTimeRange, forKey key: String)Parameters
- timeRange:
A
CMTimeRangestructure. - key:
The key with which to associate
timeRangein the archive.