pub unsafe extern "C" fn ANeuralNetworksDevice_wait(
device: *const ANeuralNetworksDevice,
) -> c_intExpand description
Wait until the device is in a live state.
A device may encounter internal errors and temporarily enter a dead state. A call that uses a device in such a state will return with the error {@link ANEURALNETWORKS_DEAD_OBJECT}. ANeuralNetworksDevice_wait will block until the device is in a live state.
@param device The representation of the specified device.
@return ANEURALNETWORKS_NO_ERROR if successful.
Available since API level 30.