/**@class android.content.ClipboardManager @extends android.text.ClipboardManager Interface to the clipboard service, for placing and retrieving text in the global clipboard. <p> You do not instantiate this class directly; instead, retrieve it through {@link android.content.Context#getSystemService}. <p> The ClipboardManager API itself is very simple: it consists of methods to atomically get and set the current primary clipboard data. That data is expressed as a {@link android.content.ClipData} object, which defines the protocol for data exchange between applications. <div class="special reference"> <h3>Developer Guides</h3> <p>For more information about using the clipboard framework, read the <a href="{@docRoot}guide/topics/clipboard/copy-paste.html">Copy and Paste</a> developer guide.</p> </div> @see android.content.Context#getSystemService */ var ClipboardManager = { /**Sets the current primary clip on the clipboard. This is the clip that is involved in normal cut and paste operations. @param {Object {ClipData}} clip The clipped data item to set. */ setPrimaryClip : function( ) {}, /**Returns the current primary clip on the clipboard. */ getPrimaryClip : function( ) {}, /**Returns a description of the current primary clip on the clipboard but not a copy of its data. */ getPrimaryClipDescription : function( ) {}, /**Returns true if there is currently a primary clip on the clipboard. */ hasPrimaryClip : function( ) {}, /** */ addPrimaryClipChangedListener : function( ) {}, /** */ removePrimaryClipChangedListener : function( ) {}, /** @deprecated Use {@link #getPrimaryClip()} instead. This retrieves the primary clip and tries to coerce it to a string. */ getText : function( ) {}, /** @deprecated Use {@link #setPrimaryClip(ClipData)} instead. This creates a ClippedItem holding the given text and sets it as the primary clip. It has no label or icon. */ setText : function( ) {}, /** @deprecated Use {@link #hasPrimaryClip()} instead. */ hasText : function( ) {}, };