Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.
added in version 25.1.0
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1

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.1.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