Skip to content

Commit 413e9b3

Browse files
author
Joe Malin
committed
DOC CHANGE: Add javadoc to ClipboardManager
Change-Id: Ib499952c45f3448897a2876ed7a7edd5c3dfebfd
1 parent 8f04ae3 commit 413e9b3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

core/java/android/content/ClipboardManager.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,20 @@ public void handleMessage(Message msg) {
7070
}
7171
};
7272

73+
/**
74+
* Defines a listener callback that is invoked when the primary clip on the clipboard changes.
75+
* Objects that want to register a listener call
76+
* {@link android.content.ClipboardManager#addPrimaryClipChangedListener(OnPrimaryClipChangedListener)
77+
* addPrimaryClipChangedListener()} with an
78+
* object that implements OnPrimaryClipChangedListener.
79+
*
80+
*/
7381
public interface OnPrimaryClipChangedListener {
82+
83+
/**
84+
* Callback that is invoked by {@link android.content.ClipboardManager} when the primary
85+
* clip changes.
86+
*/
7487
void onPrimaryClipChanged();
7588
}
7689

0 commit comments

Comments
 (0)