mediaSelectionCriteriaCanBeAppliedAutomatically(to:)
Indicates whether the specified media selection group is subject to automatic media selection.
Declaration
func mediaSelectionCriteriaCanBeAppliedAutomatically(to mediaSelectionGroup: AVMediaSelectionGroup) -> BoolParameters
- mediaSelectionGroup:
A media selection group obtained from the associated asset.
Return Value
A Boolean value indicating whether the group is subject to automatic media selection.
Discussion
The automatic application of media selection criteria is suspended in any group in which a specific selection has been made by calling select(_:in:) on the current AVPlayerItem.