Package org.robolectric.shadows
Class ShadowDisplayHashManager
java.lang.Object
org.robolectric.shadows.ShadowDisplayHashManager
@Implements(value=android.view.displayhash.DisplayHashManager.class, isInAndroidSdk=false) public class ShadowDisplayHashManager extends Object
Shadow of
DisplayHashManager
.-
Constructor Summary
Constructors Constructor Description ShadowDisplayHashManager()
-
Method Summary
Modifier and Type Method Description protected Set<String>
getSupportedHashAlgorithms()
static void
setVerifyDisplayHashResult(VerifiedDisplayHash verifyDisplayHashResult)
Sets theVerifiedDisplayHash
that's going to be returned by following {DisplayHashManager#verifyDisplayHash} calls.protected VerifiedDisplayHash
verifyDisplayHash(DisplayHash displayHash)
-
Constructor Details
-
ShadowDisplayHashManager
public ShadowDisplayHashManager()
-
-
Method Details
-
setVerifyDisplayHashResult
Sets theVerifiedDisplayHash
that's going to be returned by following {DisplayHashManager#verifyDisplayHash} calls. -
getSupportedHashAlgorithms
-
verifyDisplayHash
@Implementation(minSdk=31) protected VerifiedDisplayHash verifyDisplayHash(DisplayHash displayHash)
-