Contents

predicate(forImmersiveAudio:)

Creates a NSPredicate for immersive audio which can be used with other NSPredicates to express variant preferences.

Declaration

class func predicate(forImmersiveAudio isImmersiveAudio: Bool) -> NSPredicate

Parameters

  • isImmersiveAudio:

    The RHS value for the value of isImmersiveAudio in the predicate equation.

Discussion

Predicate will be evaluated on the media selection option selected for the asset. Media selection options for primary assets may be specified in the AVAssetDownloadConfiguration mediaSelections property. Media selection options for interstitial assets may be circumscribed by -[AVAssetDownloadConfiguration setInterstitialMediaSelectionCriteria: forMediaCharacteristic:].

See Also

Building predicates