InputConnectionCompat.OnCommitContentListener
public
static
interface
InputConnectionCompat.OnCommitContentListener
androidx.core.view.inputmethod.InputConnectionCompat.OnCommitContentListener |
Listener for commitContent method call, in a backwards compatible fashion.
Summary
Public methods | |
---|---|
abstract
boolean
|
onCommitContent(InputContentInfoCompat inputContentInfo, int flags, Bundle opts)
Intercepts InputConnection#commitContent API calls. |
Public methods
onCommitContent
public abstract boolean onCommitContent (InputContentInfoCompat inputContentInfo, int flags, Bundle opts)
Intercepts InputConnection#commitContent API calls.
Parameters | |
---|---|
inputContentInfo |
InputContentInfoCompat : content to be committed |
flags |
int : 0 or InputConnectionCompat.INPUT_CONTENT_GRANT_READ_URI_PERMISSION |
opts |
Bundle : optional bundle data. This can be null |
Returns | |
---|---|
boolean |
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
|