File
Doc
Category
Size
Date
Package
IClipboard.java
API Doc
Android 5.1 API
9880
Sat Mar 14 05:48:00 GMT 2015
android.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 void
addPrimaryClipChangedListener
(
android.content.IOnPrimaryClipChangedListener
listener,
java.lang.String
callingPackage)
public
android.content.ClipData
getPrimaryClip
(
java.lang.String
pkg)
public
android.content.ClipDescription
getPrimaryClipDescription
(
java.lang.String
callingPackage)
public
boolean
hasClipboardText
(
java.lang.String
callingPackage)
Returns true if the clipboard contains text; false otherwise.
public
boolean
hasPrimaryClip
(
java.lang.String
callingPackage)
public void
removePrimaryClipChangedListener
(
android.content.IOnPrimaryClipChangedListener
listener)
public void
setPrimaryClip
(
android.content.ClipData
clip,
java.lang.String
callingPackage)
Java Code Source