MapAsyncStatus


public final class MapAsyncStatus


Indicates the status of an asynchronous buffer map operation.

Summary

Constants

static final int

The map operation was aborted.

static final int

Indicates the buffer mapping operation was cancelled.

static final int
Error = 3

An error occurred while mapping the buffer.

static final int

The buffer was successfully mapped.

Public methods

static final @NonNull String
toString(int value)

Constants

Aborted

public static final int Aborted = 4

The map operation was aborted.

CallbackCancelled

public static final int CallbackCancelled = 2

Indicates the buffer mapping operation was cancelled. This commonly happens if the buffer is unmapped or destroyed before the asynchronous map request completes.

Error

public static final int Error = 3

An error occurred while mapping the buffer.

Success

public static final int Success = 1

The buffer was successfully mapped.

Public methods

toString

Added in 1.0.0-alpha05
public static final @NonNull String toString(int value)