DisplayHashErrorCode Enum

Definition

Specifies errors reported when a display hash cannot be generated.

public enum DisplayHashErrorCode
type DisplayHashErrorCode = 
Inheritance
DisplayHashErrorCode

Fields

Name Value Description
TooManyRequests -6

The caller requested display hash generation too frequently.

InvalidHashAlgorithm -5

The hash algorithm sent to generate the hash was invalid.

NotVisibleOnScreen -4

The view that requested the hash is not visible on screen.

MissingWindow -3

The window for the view that requested the hash is no longer available.

InvalidBounds -2

The bounds used when requesting the hash were invalid or empty.

Unknown -1

An unknown error occurred.

Remarks

Specifies errors reported to IDisplayHashResultCallback.

Java documentation for android.view.displayhash.DisplayHashResultCallback.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to