parseInputMethodState
Reduces dumpsys input_method to the handful of fields that say whether the IME is showing.
Import:
import { parseInputMethodState } from 'obsidian-integration-testing';Signature:
function parseInputMethodState(dumpsysOutput: string): stringParameters:
| Parameter | Type | Description |
|---|---|---|
dumpsysOutput | string | Raw stdout of adb shell dumpsys input_method. |
Returns: string — The interesting fields, trimmed and joined, or an empty string when none were reported.
Links to this page: