Converts the text representation to an enumerated value.
the string.
a asscreenshotkind, or as_screenshot_kind_unknown if not known.