fromString

public final ScanMode fromString(String string)

Helper to find a ScanMode enum from its string value, or ScanMode.NA for invalid input.