Stay organized with collections
Save and categorize content based on your preferences.
public final class SurfaceGetCurrentTextureStatus
Status codes for retrieving the current texture from a surface.
Summary
Constants |
static final int |
A deterministic error occurred, such as the surface not being configured.
|
static final int |
The surface has been lost and must be recreated.
|
static final int |
The surface configuration is outdated and must be reconfigured.
|
static final int |
The texture was acquired successfully and is optimal for presentation.
|
static final int |
The texture was acquired successfully but is suboptimal for presentation; reconfiguration may be needed.
|
static final int |
The operation timed out while acquiring the texture.
|
Constants
public static final int Error = 6
A deterministic error occurred, such as the surface not being configured.
public static final int Lost = 5
The surface has been lost and must be recreated.
public static final int Outdated = 4
The surface configuration is outdated and must be reconfigured.
public static final int SuccessOptimal = 1
The texture was acquired successfully and is optimal for presentation.
public static final int SuccessSuboptimal = 2
The texture was acquired successfully but is suboptimal for presentation; reconfiguration may be needed.
public static final int Timeout = 3
The operation timed out while acquiring the texture.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-04-22 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-22 UTC."],[],[]]