@Implements(value=android.content.ClipboardManager.class) public class ShadowClipboardManager extends Object
Constructor and Description |
---|
ShadowClipboardManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
addPrimaryClipChangedListener(ClipboardManager.OnPrimaryClipChangedListener listener) |
protected ClipData |
getPrimaryClip() |
protected ClipDescription |
getPrimaryClipDescription() |
protected boolean |
hasPrimaryClip() |
protected boolean |
hasText() |
protected void |
removePrimaryClipChangedListener(ClipboardManager.OnPrimaryClipChangedListener listener) |
protected void |
setPrimaryClip(ClipData clip) |
protected void |
setText(CharSequence text) |
@Implementation protected void setPrimaryClip(ClipData clip)
@Implementation protected ClipData getPrimaryClip()
@Implementation protected ClipDescription getPrimaryClipDescription()
@Implementation protected boolean hasPrimaryClip()
@Implementation protected void addPrimaryClipChangedListener(ClipboardManager.OnPrimaryClipChangedListener listener)
@Implementation protected void removePrimaryClipChangedListener(ClipboardManager.OnPrimaryClipChangedListener listener)
@Implementation protected void setText(CharSequence text)
@Implementation protected boolean hasText()