ClipboardManager.OnPrimaryClipChangedListener
public
static
interface
ClipboardManager.OnPrimaryClipChangedListener
android.content.ClipboardManager.OnPrimaryClipChangedListener |
Defines a listener callback that is invoked when the primary clip on the clipboard changes.
Objects that want to register a listener call
addPrimaryClipChangedListener()
with an
object that implements OnPrimaryClipChangedListener.
Summary
Public methods | |
---|---|
abstract
void
|
onPrimaryClipChanged()
Callback that is invoked by |
Public methods
onPrimaryClipChanged
public abstract void onPrimaryClipChanged ()
Callback that is invoked by ClipboardManager
when the primary
clip changes.
This is called when the result of ClipDescription#getClassificationStatus()
changes, as well as when new clip data is set. So in cases where text classification is
performed, this callback may be invoked multiple times for the same clip.