Contents

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

Parameters

  • 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