Package: android.hardware.neuralnetworks@1.0

IExecutionCallback

interface IExecutionCallback

IExecutionCallback must be used to return the error status result from an execution asynchronously launched from IPreparedModel::execute.

Methods

notify

oneway notify (ErrorStatus status)

notify must be invoked immediately after the asynchronous task has finished performing the execution.notify must be provided with the ErrorStatus resulting from the execution.If the asynchronous task is not launched, notify must be invoked with the appropriate error.

Details
RPC mode
oneway
Parameters
status