isForced property

bool get isForced

Indicates whether the track contains Forced Narrative cues. This may only be true for subtitle tracks where

  • For DASH: the corresponding AdaptationSet contains a child Role with its value attribute equal to 'forced_subtitle'
  • For HLS: the corresponding #EXT-X-MEDIA tag contains the attributes TYPE=SUBTITLES and FORCED=YES (not supported yet)

Implementation

bool get isForced => _isForced;