Creates a ScreenTrace instance with the given identifier. Throws if hardware acceleration is disabled or if Android is 9.0 or 9.1.
Performance instance.
Name of the trace, no leading or trailing whitespace allowed, no leading underscore '_' character allowed, max length is 100.
android Android !== 9.0.0 && Android !== 9.1.0
Creates a ScreenTrace instance with the given identifier. Throws if hardware acceleration is disabled or if Android is 9.0 or 9.1.