Skip to content

Most visited

Recently visited

navigation
added in version 25.0.0

InputConnectionCompat.OnCommitContentListener

public static interface InputConnectionCompat.OnCommitContentListener

android.support.v13.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

added in version 25.0.0
boolean onCommitContent (InputContentInfoCompat inputContentInfo, 
                int flags, 
                Bundle opts)

Intercepts InputConnection#commitContent API calls.

Parameters
inputContentInfo InputContentInfoCompat: content to be committed
flags int: 0 or 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
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.