public static interface InputConnectionCompat.OnCommitContentListener
Modifier and Type | Method and Description |
---|---|
boolean |
onCommitContent(InputContentInfoCompat inputContentInfo,
int flags,
Bundle opts)
Intercepts InputConnection#commitContent API calls.
|
boolean onCommitContent(InputContentInfoCompat inputContentInfo, int flags, Bundle opts)
inputContentInfo
- content to be committedflags
- 0
or InputConnectionCompat.INPUT_CONTENT_GRANT_READ_URI_PERMISSION
opts
- optional bundle data. This can be null
true
if this request is accepted by the application, no matter if the
request is already handled or still being handled in background. false
to use the
default implementation