/**@class android.content.ClipboardManager @extends android.text.ClipboardManager Interface to the clipboard service, for placing and retrieving text in the global clipboard. <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> */ 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. @see #getPrimaryClip() @see #clearPrimaryClip() */ setPrimaryClip : function( ) {}, /**Clears any current primary clip on the clipboard. @see #setPrimaryClip(ClipData) */ clearPrimaryClip : function( ) {}, /**Returns the current primary clip on the clipboard. <em>If the application is not the default IME or does not have input focus this return {@code null}.</em> @see #setPrimaryClip(ClipData) */ getPrimaryClip : function( ) {}, /**Returns a description of the current primary clip on the clipboard but not a copy of its data. <em>If the application is not the default IME or does not have input focus this return {@code null}.</em> @see #setPrimaryClip(ClipData) */ getPrimaryClipDescription : function( ) {}, /**Returns true if there is currently a primary clip on the clipboard. <em>If the application is not the default IME or the does not have input focus this will return {@code false}.</em> */ 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( ) {}, };