Contents

preferredCustomMediaSelectionSchemes

Indicates the AVCustomMediaSelectionSchemes of AVMediaSelectionGroups of the receiver’s asset with which an associated UI implementation should configure its interface for media selection.

Declaration

var preferredCustomMediaSelectionSchemes: [AVCustomMediaSelectionScheme] { get set }

Discussion

Recommended usage: if use of a custom media selection scheme is desired, set this property before either replacing an AVPlayer’s current item with the receiver or adding the receiver to an AVQueuePlayer’s play queue. This will satisfy requirements of UI implementations that commit to a configuration of UI elements as the receiver becomes ready to play.

See Also

Selecting media options