AutoSelectTextTrackMode Enumeration

public enum AutoSelectTextTrackMode : Int, Codable, Equatable

Modes for automatic selection of text tracks.

  • Do not make any automatic track selection.

    Declaration

    Swift

    case disabled
  • Attempt to select a subtitle track that matches the preferred language. Then display only the subtitle cues marked as `forced.

    Declaration

    Swift

    case forcedTracksOnly
  • Attempt to select a subtitle track that matches the preferred language. Then display all the subtitle cues available.

    Declaration

    Swift

    case anyMatchingTrack