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 voidsetVerifyDisplayHashResult(VerifiedDisplayHash verifyDisplayHashResult)Sets theVerifiedDisplayHashthat's going to be returned by following {DisplayHashManager#verifyDisplayHash} calls.protected VerifiedDisplayHashverifyDisplayHash(DisplayHash displayHash)
-
Constructor Details
-
ShadowDisplayHashManager
public ShadowDisplayHashManager()
-
-
Method Details
-
setVerifyDisplayHashResult
Sets theVerifiedDisplayHashthat's going to be returned by following {DisplayHashManager#verifyDisplayHash} calls. -
getSupportedHashAlgorithms
-
verifyDisplayHash
@Implementation(minSdk=31) protected VerifiedDisplayHash verifyDisplayHash(DisplayHash displayHash)
-