The kind read-only property of the TextTrack interface returns the kind of text track this object represents.
kind
MDN Reference