CMTimeRangeCopyAsDictionary(_:allocator:)
Returns a dictionary representation of a time range.
Declaration
func CMTimeRangeCopyAsDictionary(_ range: CMTimeRange, allocator: CFAllocator?) -> CFDictionary?Parameters
- range:
The time range from which to create a dictionary.
- allocator:
The allocator with which to create a dictionary.
Return Value
A dictionary that represents the time range.
Discussion
This is useful when putting CMTimeRanges in Core Foundation container types. Pass kCFAllocatorDefault to use the default allocator.
For keys in the dictionary, see Dictionary Keys.