ImeTools

object ImeTools

Functions

Link copied to clipboard
fun all(context: Context): List<McpTool>
Link copied to clipboard

Convention method matching other modules; always returns true because the runtime-permission concept doesn't apply here. To know whether the droid-mcp keyboard is the active IME and has an editor focused, call isImeBound (or permissionStatus) instead.

Link copied to clipboard

True when the host app's DroidMcpInputMethodService is the currently active IME and an editor is bound to it.

Link copied to clipboard

Special-access status. Returns Granted when the IME is the active keyboard with a bound editor, otherwise NotGranted carrying the IME settings intent so the host can render an inline Grant card.

Link copied to clipboard

IME activation is a special access flow (Settings + IME picker), not a runtime permission, so there are no manifest entries to request.

Link copied to clipboard