# Constant Field Values

## Contents

- com.castlabs.*

## com.castlabs.*

- com.castlabs.sdk.base.subtitles.SubtitleParserHelper
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `MIME_TYPE_CEA608`
  `"application/cea-608"`
  `public static final String`
  `MIME_TYPE_DVBSUBS`
  `"application/dvbsubs"`
  `public static final String`
  `MIME_TYPE_DVBTTX`
  `"application/dvbttx"`
  `public static final String`
  `MIME_TYPE_MP4_VTT`
  `"application/x-mp4-vtt"`
  `public static final String`
  `MIME_TYPE_SRT`
  `"text/plain"`
  `public static final String`
  `MIME_TYPE_TTML`
  `"application/ttml+xml"`
  `public static final String`
  `MIME_TYPE_VTT`
  `"text/vtt"`

- com.castlabs.sdk.base.subtitles.buffer.DecoderInputBuffer
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `BUFFER_REPLACEMENT_MODE_DIRECT`
  `2`
  `public static final int`
  `BUFFER_REPLACEMENT_MODE_DISABLED`
  `0`
  `public static final int`
  `BUFFER_REPLACEMENT_MODE_NORMAL`
  `1`
  `public static final int`
  `BUFFER_REPLACEMENT_MODE_SHARED`
  `3`

- com.castlabs.sdk.base.subtitles.utilities.Constants
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `ALLOW_CAPTURE_BY_ALL`
  `1`
  `public static final int`
  `ALLOW_CAPTURE_BY_NONE`
  `3`
  `public static final int`
  `ALLOW_CAPTURE_BY_SYSTEM`
  `2`
  `public static final String`
  `ASCII_NAME`
  `"US-ASCII"`
  `public static final int`
  `AUDIOFOCUS_GAIN`
  `1`
  `public static final int`
  `AUDIOFOCUS_GAIN_TRANSIENT`
  `2`
  `public static final int`
  `AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE`
  `4`
  `public static final int`
  `AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK`
  `3`
  `public static final int`
  `AUDIOFOCUS_NONE`
  `0`
  `public static final int`
  `BITS_PER_BYTE`
  `8`
  `public static final int`
  `BUFFER_FLAG_DECODE_ONLY`
  `-2147483648`
  `public static final int`
  `BUFFER_FLAG_ENCRYPTED`
  `1073741824`
  `public static final int`
  `BUFFER_FLAG_END_OF_STREAM`
  `4`
  `public static final int`
  `BUFFER_FLAG_HAS_SUPPLEMENTAL_DATA`
  `268435456`
  `public static final int`
  `BUFFER_FLAG_KEY_FRAME`
  `1`
  `public static final int`
  `BUFFER_FLAG_LAST_SAMPLE`
  `536870912`
  `public static final int`
  `BYTES_PER_FLOAT`
  `4`
  `public static final int`
  `CRYPTO_MODE_AES_CBC`
  `2`
  `public static final int`
  `CRYPTO_MODE_AES_CTR`
  `1`
  `public static final int`
  `CRYPTO_MODE_UNENCRYPTED`
  `0`
  `public static final int`
  `ENCODING_INVALID`
  `0`
  `public static final int`
  `FLAG_AUDIBILITY_ENFORCED`
  `1`
  `public static final int`
  `INDEX_UNSET`
  `-1`
  `public static final String`
  `ISO88591_NAME`
  `"ISO-8859-1"`
  `public static final String`
  `LANGUAGE_UNDETERMINED`
  `"und"`
  `public static final int`
  `LENGTH_UNSET`
  `-1`
  `public static final long`
  `MICROS_PER_SECOND`
  `1000000L`
  `public static final long`
  `MILLIS_PER_SECOND`
  `1000L`
  `public static final long`
  `NANOS_PER_SECOND`
  `1000000000L`
  `public static final int`
  `PERCENTAGE_UNSET`
  `-1`
  `public static final int`
  `POSITION_UNSET`
  `-1`
  `public static final int`
  `ROLE_FLAG_ALTERNATE`
  `2`
  `public static final int`
  `ROLE_FLAG_CAPTION`
  `64`
  `public static final int`
  `ROLE_FLAG_COMMENTARY`
  `8`
  `public static final int`
  `ROLE_FLAG_DESCRIBES_MUSIC_AND_SOUND`
  `1024`
  `public static final int`
  `ROLE_FLAG_DESCRIBES_VIDEO`
  `512`
  `public static final int`
  `ROLE_FLAG_DUB`
  `16`
  `public static final int`
  `ROLE_FLAG_EASY_TO_READ`
  `8192`
  `public static final int`
  `ROLE_FLAG_EMERGENCY`
  `32`
  `public static final int`
  `ROLE_FLAG_ENHANCED_DIALOG_INTELLIGIBILITY`
  `2048`
  `public static final int`
  `ROLE_FLAG_MAIN`
  `1`
  `public static final int`
  `ROLE_FLAG_SIGN`
  `256`
  `public static final int`
  `ROLE_FLAG_SUBTITLE`
  `128`
  `public static final int`
  `ROLE_FLAG_SUPPLEMENTARY`
  `4`
  `public static final int`
  `ROLE_FLAG_TRANSCRIBES_DIALOG`
  `4096`
  `public static final int`
  `ROLE_FLAG_TRICK_PLAY`
  `16384`
  `public static final String`
  `SANS_SERIF_NAME`
  `"sans-serif"`
  `public static final int`
  `SELECTION_FLAG_AUTOSELECT`
  `4`
  `public static final int`
  `SELECTION_FLAG_DEFAULT`
  `1`
  `public static final int`
  `SELECTION_FLAG_FORCED`
  `2`
  `public static final int`
  `SELECTION_REASON_ADAPTIVE`
  `3`
  `public static final int`
  `SELECTION_REASON_CUSTOM_BASE`
  `10000`
  `public static final int`
  `SELECTION_REASON_INITIAL`
  `1`
  `public static final int`
  `SELECTION_REASON_MANUAL`
  `2`
  `public static final int`
  `SELECTION_REASON_TRICK_PLAY`
  `4`
  `public static final int`
  `SELECTION_REASON_UNKNOWN`
  `0`
  `public static final String`
  `SERIF_NAME`
  `"serif"`
  `public static final long`
  `TIME_END_OF_SOURCE`
  `-9223372036854775808L`
  `public static final long`
  `TIME_UNSET`
  `-9223372036854775807L`
  `public static final int`
  `TRACK_TYPE_AUDIO`
  `1`
  `public static final int`
  `TRACK_TYPE_CAMERA_MOTION`
  `5`
  `public static final int`
  `TRACK_TYPE_CUSTOM_BASE`
  `10000`
  `public static final int`
  `TRACK_TYPE_DEFAULT`
  `0`
  `public static final int`
  `TRACK_TYPE_METADATA`
  `4`
  `public static final int`
  `TRACK_TYPE_NONE`
  `6`
  `public static final int`
  `TRACK_TYPE_TEXT`
  `3`
  `public static final int`
  `TRACK_TYPE_UNKNOWN`
  `-1`
  `public static final int`
  `TRACK_TYPE_VIDEO`
  `2`
  `public static final int`
  `USAGE_ALARM`
  `4`
  `public static final int`
  `USAGE_ASSISTANCE_ACCESSIBILITY`
  `11`
  `public static final int`
  `USAGE_ASSISTANCE_NAVIGATION_GUIDANCE`
  `12`
  `public static final int`
  `USAGE_ASSISTANCE_SONIFICATION`
  `13`
  `public static final int`
  `USAGE_ASSISTANT`
  `16`
  `public static final int`
  `USAGE_GAME`
  `14`
  `public static final int`
  `USAGE_MEDIA`
  `1`
  `public static final int`
  `USAGE_NOTIFICATION`
  `5`
  `public static final int`
  `USAGE_NOTIFICATION_COMMUNICATION_DELAYED`
  `9`
  `public static final int`
  `USAGE_NOTIFICATION_COMMUNICATION_INSTANT`
  `8`
  `public static final int`
  `USAGE_NOTIFICATION_COMMUNICATION_REQUEST`
  `7`
  `public static final int`
  `USAGE_NOTIFICATION_EVENT`
  `10`
  `public static final int`
  `USAGE_NOTIFICATION_RINGTONE`
  `6`
  `public static final int`
  `USAGE_UNKNOWN`
  `0`
  `public static final int`
  `USAGE_VOICE_COMMUNICATION`
  `2`
  `public static final int`
  `USAGE_VOICE_COMMUNICATION_SIGNALLING`
  `3`
  `public static final String`
  `UTF16_NAME`
  `"UTF-16"`
  `public static final String`
  `UTF16LE_NAME`
  `"UTF-16LE"`
  `public static final String`
  `UTF8_NAME`
  `"UTF-8"`
  `public static final int`
  `VIDEO_OUTPUT_MODE_NONE`
  `-1`
  `public static final int`
  `VIDEO_OUTPUT_MODE_SURFACE_YUV`
  `1`
  `public static final int`
  `VIDEO_OUTPUT_MODE_YUV`
  `0`
- com.castlabs.sdk.base.subtitles.utilities.MimeTypes
  Modifier and Type
  Constant Field
  Value
  `public static final String`
  `APPLICATION_CAMERA_MOTION`
  `"application/x-camera-motion"`
  `public static final String`
  `APPLICATION_CEA608`
  `"application/cea-608"`
  `public static final String`
  `APPLICATION_CEA708`
  `"application/cea-708"`
  `public static final String`
  `APPLICATION_DVBSUBS`
  `"application/dvbsubs"`
  `public static final String`
  `APPLICATION_DVBTTX`
  `"application/dvbttx"`
  `public static final String`
  `APPLICATION_EMSG`
  `"application/x-emsg"`
  `public static final String`
  `APPLICATION_EXIF`
  `"application/x-exif"`
  `public static final String`
  `APPLICATION_ICY`
  `"application/x-icy"`
  `public static final String`
  `APPLICATION_ID3`
  `"application/id3"`
  `public static final String`
  `APPLICATION_M3U8`
  `"application/x-mpegURL"`
  `public static final String`
  `APPLICATION_MP4`
  `"application/mp4"`
  `public static final String`
  `APPLICATION_MP4CEA608`
  `"application/x-mp4-cea-608"`
  `public static final String`
  `APPLICATION_MP4VTT`
  `"application/x-mp4-vtt"`
  `public static final String`
  `APPLICATION_MPD`
  `"application/dash+xml"`
  `public static final String`
  `APPLICATION_PGS`
  `"application/pgs"`
  `public static final String`
  `APPLICATION_RAWCC`
  `"application/x-rawcc"`
  `public static final String`
  `APPLICATION_SCTE35`
  `"application/x-scte35"`
  `public static final String`
  `APPLICATION_SS`
  `"application/vnd.ms-sstr+xml"`
  `public static final String`
  `APPLICATION_SUBRIP`
  `"application/x-subrip"`
  `public static final String`
  `APPLICATION_TTML`
  `"application/ttml+xml"`
  `public static final String`
  `APPLICATION_TX3G`
  `"application/x-quicktime-tx3g"`
  `public static final String`
  `APPLICATION_VOBSUB`
  `"application/vobsub"`
  `public static final String`
  `APPLICATION_WEBM`
  `"application/webm"`
  `public static final String`
  `AUDIO_AAC`
  `"audio/mp4a-latm"`
  `public static final String`
  `AUDIO_AC3`
  `"audio/ac3"`
  `public static final String`
  `AUDIO_AC4`
  `"audio/ac4"`
  `public static final String`
  `AUDIO_ALAC`
  `"audio/alac"`
  `public static final String`
  `AUDIO_ALAW`
  `"audio/g711-alaw"`
  `public static final String`
  `AUDIO_AMR_NB`
  `"audio/3gpp"`
  `public static final String`
  `AUDIO_AMR_WB`
  `"audio/amr-wb"`
  `public static final String`
  `AUDIO_DTS`
  `"audio/vnd.dts"`
  `public static final String`
  `AUDIO_DTS_EXPRESS`
  `"audio/vnd.dts.hd;profile=lbr"`
  `public static final String`
  `AUDIO_DTS_HD`
  `"audio/vnd.dts.hd"`
  `public static final String`
  `AUDIO_E_AC3`
  `"audio/eac3"`
  `public static final String`
  `AUDIO_E_AC3_JOC`
  `"audio/eac3-joc"`
  `public static final String`
  `AUDIO_FLAC`
  `"audio/flac"`
  `public static final String`
  `AUDIO_MLAW`
  `"audio/g711-mlaw"`
  `public static final String`
  `AUDIO_MP4`
  `"audio/mp4"`
  `public static final String`
  `AUDIO_MPEG`
  `"audio/mpeg"`
  `public static final String`
  `AUDIO_MPEG_L1`
  `"audio/mpeg-L1"`
  `public static final String`
  `AUDIO_MPEG_L2`
  `"audio/mpeg-L2"`
  `public static final String`
  `AUDIO_MSGSM`
  `"audio/gsm"`
  `public static final String`
  `AUDIO_OPUS`
  `"audio/opus"`
  `public static final String`
  `AUDIO_RAW`
  `"audio/raw"`
  `public static final String`
  `AUDIO_TRUEHD`
  `"audio/true-hd"`
  `public static final String`
  `AUDIO_UNKNOWN`
  `"audio/x-unknown"`
  `public static final String`
  `AUDIO_VORBIS`
  `"audio/vorbis"`
  `public static final String`
  `AUDIO_WEBM`
  `"audio/webm"`
  `public static final String`
  `BASE_TYPE_APPLICATION`
  `"application"`
  `public static final String`
  `BASE_TYPE_AUDIO`
  `"audio"`
  `public static final String`
  `BASE_TYPE_IMAGE`
  `"image"`
  `public static final String`
  `BASE_TYPE_TEXT`
  `"text"`
  `public static final String`
  `BASE_TYPE_VIDEO`
  `"video"`
  `public static final String`
  `TEXT_SSA`
  `"text/x-ssa"`
  `public static final String`
  `TEXT_VTT`
  `"text/vtt"`
  `public static final String`
  `VIDEO_AV1`
  `"video/av01"`
  `public static final String`
  `VIDEO_DIVX`
  `"video/divx"`
  `public static final String`
  `VIDEO_DOLBY_VISION`
  `"video/dolby-vision"`
  `public static final String`
  `VIDEO_H263`
  `"video/3gpp"`
  `public static final String`
  `VIDEO_H264`
  `"video/avc"`
  `public static final String`
  `VIDEO_H265`
  `"video/hevc"`
  `public static final String`
  `VIDEO_MP4`
  `"video/mp4"`
  `public static final String`
  `VIDEO_MP4V`
  `"video/mp4v-es"`
  `public static final String`
  `VIDEO_MPEG`
  `"video/mpeg"`
  `public static final String`
  `VIDEO_MPEG2`
  `"video/mpeg2"`
  `public static final String`
  `VIDEO_UNKNOWN`
  `"video/x-unknown"`
  `public static final String`
  `VIDEO_VC1`
  `"video/wvc1"`
  `public static final String`
  `VIDEO_VP8`
  `"video/x-vnd.on2.vp8"`
  `public static final String`
  `VIDEO_VP9`
  `"video/x-vnd.on2.vp9"`
  `public static final String`
  `VIDEO_WEBM`
  `"video/webm"`
- com.castlabs.sdk.base.subtitles.utilities.SubtitleFormat
  Modifier and Type
  Constant Field
  Value
  `public static final int`
  `NO_VALUE`
  `-1`
  `public static final long`
  `OFFSET_SAMPLE_RELATIVE`
  `9223372036854775807L`