FileDocCategorySizeDatePackage
IClipboard.javaAPI DocAndroid 5.1 API9880Sat Mar 14 05:48:00 GMT 2015android.content

IClipboard

public interface IClipboard implements android.os.IInterface
Programming interface to the clipboard, which allows copying and pasting between applications. {@hide}

Fields Summary
Constructors Summary
Methods Summary
public voidaddPrimaryClipChangedListener(android.content.IOnPrimaryClipChangedListener listener, java.lang.String callingPackage)

public android.content.ClipDatagetPrimaryClip(java.lang.String pkg)

public android.content.ClipDescriptiongetPrimaryClipDescription(java.lang.String callingPackage)

public booleanhasClipboardText(java.lang.String callingPackage)
Returns true if the clipboard contains text; false otherwise.

public booleanhasPrimaryClip(java.lang.String callingPackage)

public voidremovePrimaryClipChangedListener(android.content.IOnPrimaryClipChangedListener listener)

public voidsetPrimaryClip(android.content.ClipData clip, java.lang.String callingPackage)