Contents

mediaSelectionOptions(in:)

Returns an array of locally cached media selection options that are available for offline use.

Declaration

func mediaSelectionOptions(in mediaSelectionGroup: AVMediaSelectionGroup) -> [AVMediaSelectionOption]

Parameters

  • mediaSelectionGroup:

    The containing media selection group.

Return Value

The array of media selection options, or an empty array if none are available.

See Also

Inspecting the cached media