FileDocCategorySizeDatePackage
ClipboardManager.javaAPI DocAndroid 5.1 API1352Thu Mar 12 22:22:10 GMT 2015android.text

ClipboardManager

public abstract class ClipboardManager extends Object
deprecated
Old text-only interface to the clipboard. See {@link android.content.ClipboardManager} for the modern API.

Fields Summary
Constructors Summary
Methods Summary
public abstract java.lang.CharSequencegetText()
Returns the text on the clipboard. It will eventually be possible to store types other than text too, in which case this will return null if the type cannot be coerced to text.

public abstract booleanhasText()
Returns true if the clipboard contains text; false otherwise.

public abstract voidsetText(java.lang.CharSequence text)
Sets the contents of the clipboard to the specified text.