<?php

namespace AsyncAws\MediaConvert\Enum;

/**
 * If the IMSC captions track is intended to provide accessibility for people who are deaf or hard of hearing: Set
 * Accessibility subtitles to Enabled. When you do, MediaConvert adds accessibility attributes to your output HLS or
 * DASH manifest. For HLS manifests, MediaConvert adds the following accessibility attributes under EXT-X-MEDIA for this
 * track: CHARACTERISTICS="public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound"
 * and AUTOSELECT="YES". For DASH manifests, MediaConvert adds the following in the adaptation set for this track:
 * `<Accessibility schemeIdUri="urn:mpeg:dash:role:2011" value="caption"/>`. If the captions track is not intended to
 * provide such accessibility: Keep the default value, Disabled. When you do, for DASH manifests, MediaConvert instead
 * adds the following in the adaptation set for this track: `<Role schemeIDUri="urn:mpeg:dash:role:2011"
 * value="subtitle"/>`.
 */
final class ImscAccessibilitySubs
{
    public const DISABLED = 'DISABLED';
    public const ENABLED = 'ENABLED';

    public static function exists(string $value): bool
    {
        return isset([
            self::DISABLED => true,
            self::ENABLED => true,
        ][$value]);
    }
}
