Java android.content ClipboardManager fields, constructors, methods, implement or subclass

Example usage for Java android.content ClipboardManager fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.content ClipboardManager.

The text is from its open source code.

Method

voidaddPrimaryClipChangedListener(OnPrimaryClipChangedListener what)
ClipDatagetPrimaryClip()
Returns the current primary clip on the clipboard.
ClipDescriptiongetPrimaryClipDescription()
Returns a description of the current primary clip on the clipboard but not a copy of its data.
CharSequencegetText()
booleanhasPrimaryClip()
Returns true if there is currently a primary clip on the clipboard.
booleanhasText()
voidremovePrimaryClipChangedListener(OnPrimaryClipChangedListener what)
voidsetPrimaryClip(@NonNull ClipData clip)
Sets the current primary clip on the clipboard.
voidsetText(CharSequence text)