HardwareRendererCompat
Artifact: androidx.test:monitor
public class HardwareRendererCompat
Helper class that provides isDrawingEnabled and setDrawingEnabled functionality on emulator platforms that backported this functionality from a future android API.
Summary
Public methods |
|
|---|---|
static boolean |
Call to |
static void |
setDrawingEnabled(boolean renderingEnabled)Call to |
Public methods
isDrawingEnabled
public static boolean isDrawingEnabled()
Call to isDrawingEnabled
Will always return true if isDrawingEnabled does not exist on this platform.
setDrawingEnabled
public static void setDrawingEnabled(boolean renderingEnabled)
Call to setDrawingEnabled
Has no effective if this method does not exist on this platform.