UncapturedErrorCallback


public fun interface UncapturedErrorCallback


Summary

Public methods

abstract void
onUncapturedError(
    @NonNull GPUDevice device,
    int type,
    @NonNull String message
)

A callback function invoked when an uncaptured GPU error occurs on a device.

Public methods

onUncapturedError

Added in 1.0.0-alpha01
abstract void onUncapturedError(
    @NonNull GPUDevice device,
    int type,
    @NonNull String message
)

A callback function invoked when an uncaptured GPU error occurs on a device.

Parameters
@NonNull GPUDevice device

The device where the uncaptured error occurred.

int type

The type of the uncaptured error.

@NonNull String message

A human-readable message describing the uncaptured error.