predicate(forChannelCount:mediaSelectionOption:operatorType:)
Creates a predicate with a channel count, media selection option, and operator type.
Declaration
class func predicate(forChannelCount channelCount: Int, mediaSelectionOption: AVMediaSelectionOption?, operatorType: NSComparisonPredicate.Operator) -> NSPredicateParameters
- channelCount:
The number of channels in the variant.
- mediaSelectionOption:
The media selection option for the variant.
- operatorType:
The predicate operator.
Return Value
A predicate object that you use to to create an AVAssetVariantQualifier.
See Also
Building predicates
predicate(forAudioSampleRate:mediaSelectionOption:operatorType:)predicate(forAudioSampleRate:operatorType:)predicate(forBinauralAudio:)predicate(forBinauralAudio:mediaSelectionOption:)predicate(forChannelCount:operatorType:)predicate(forDownmixAudio:)predicate(forDownmixAudio:mediaSelectionOption:)predicate(forImmersiveAudio:)predicate(forImmersiveAudio:mediaSelectionOption:)predicate(forPresentationHeight:operatorType:)predicate(forPresentationWidth:operatorType:)