Developer's Documentation for free mobile OCR SDK

Documentation Menu

unload method of the Engine class

warning Important! Using this method is not recommended.

Unloads the ABBYY Real-Time Recognition SDK engine.

Explicitly unloading the engine is not required and not recommended for most applications. Use this method only if in your application the engine is used in a separate activity, which is not likely to be used repeatedly, and you absolutely must reclaim the memory. If this is the case, the most appropriate place to unload the engine is the onDestroy method of the activity.

public abstract void unload();