Instance Method

associatedMediaSelectionOptionInMediaSelectionGroup:

Returns a media selection option associated with the receiver in a given group.

Declaration

- (AVMediaSelectionOption *)associatedMediaSelectionOptionInMediaSelectionGroup:(AVMediaSelectionGroup *)mediaSelectionGroup;

Parameters

mediaSelectionGroup

A media selection group in which an associated option is to be sought.

Return Value

A media selection option associated with the receiver in mediaSelectionGroup, or nil if none were found.

Discussion

Audible media selection options often have associated legible media selection options; in particular, audible options are typically associated with forced-only subtitle options with the same locale. See AVMediaCharacteristicContainsOnlyForcedSubtitles for a discussion of forced-only subtitles.