spiegel-keyman/android/docs/engine/KMManager/onDestroy.md
2024-10-31 10:08:17 +07:00

39 lines
658 B
Markdown

---
title: KMManager.onDestroy()
---
## Summary
The **`onDestroy()`** method performs necessary actions in an
InputMethodService's `onDestroy()`.
## Syntax
``` javascript
KMManager.onDestroy()
```
## Description
To be called from an InputMethodService's `onDestroy()` method.
## Examples
### Example: Using `onDestroy()`
The following script illustrate the use of `onDestroy()`:
``` javascript
@Override
public void onDestroy() {
// ...
KMManager.onDestroy();
super.onDestroy();
}
```
## See also
- [`createInputView()`](createInputView)
- [`onStartInput()`](onStartInput)
- [`onConfigurationChanged()`](onConfigurationChanged)