Example usage for Java android.content ClipboardManager fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addPrimaryClipChangedListener(OnPrimaryClipChangedListener what) |
ClipData | getPrimaryClip() Returns the current primary clip on the clipboard. |
ClipDescription | getPrimaryClipDescription() Returns a description of the current primary clip on the clipboard but not a copy of its data. |
CharSequence | getText() |
boolean | hasPrimaryClip() Returns true if there is currently a primary clip on the clipboard. |
boolean | hasText() |
void | removePrimaryClipChangedListener(OnPrimaryClipChangedListener what) |
void | setPrimaryClip(@NonNull ClipData clip) Sets the current primary clip on the clipboard. |
void | setText(CharSequence text) |