UE 4.22 Python issue

These lines don’t appear to work in 4.22. I installed the Python Editor Script Plugin, and included the import unreal, but the following lines fail when I execute the python script from the Unreal Editor command line.

import unreal
Obj1 = unreal.AudioRecordingMode

The error I receive is:

LogPython: Error: AttributeError: 'module' object has no attribute 'AudioRecordingMode'

Same is true for:

Obj2 = unreal.SequenceRecorderSettings()

LogPython: Error: AttributeError: 'module' object has no attribute 'SequenceRecorderSettings'

Thanks in advance!

Searching for “AudioRecordingMode” and “Audio Recording Mode” in the python docs yields no result. I’m also struggling to find anything in the main ue4 docs pages.

Please could link to the documentation of the features you’re trying to use?

You may find it useful to read through the available modules in the unreal library. type into your console:
for x in sorted(dir(unreal)):
[tab] print x