MapAsyncStatus


class MapAsyncStatus


Indicates the status of an asynchronous buffer map operation.

Summary

Constants

const Int

The map operation was aborted.

const Int

Indicates the buffer mapping operation was cancelled.

const Int
Error = 3

An error occurred while mapping the buffer.

const Int

The buffer was successfully mapped.

Public companion functions

String
toString(value: Int)

Constants

Aborted

const val Aborted = 4: Int

The map operation was aborted.

CallbackCancelled

const val CallbackCancelled = 2: Int

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

Error

const val Error = 3: Int

An error occurred while mapping the buffer.

Success

const val Success = 1: Int

The buffer was successfully mapped.

Public companion functions

toString

Added in 1.0.0-alpha05
fun toString(value: Int): String