ClipboardManager.PrimaryClip Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the current primary clip on the clipboard. -or- Sets the current primary clip on the clipboard.
public virtual Android.Content.ClipData? PrimaryClip { [Android.Runtime.Register("getPrimaryClip", "()Landroid/content/ClipData;", "GetGetPrimaryClipHandler")] get; [Android.Runtime.Register("setPrimaryClip", "(Landroid/content/ClipData;)V", "GetSetPrimaryClip_Landroid_content_ClipData_Handler")] set; }
[<get: Android.Runtime.Register("getPrimaryClip", "()Landroid/content/ClipData;", "GetGetPrimaryClipHandler")>]
[<set: Android.Runtime.Register("setPrimaryClip", "(Landroid/content/ClipData;)V", "GetSetPrimaryClip_Landroid_content_ClipData_Handler")>]
member this.PrimaryClip : Android.Content.ClipData with get, set
Property Value
Returns the current primary clip when clipboard reads are permitted; otherwise returns null. Clipboard reads are permitted for the default IME, an application with input focus, or callers granted privileged background access.
- Attributes
Remarks
Property getter documentation:
Returns the current primary clip when clipboard reads are permitted; otherwise returns null. Clipboard reads are permitted for the default IME, an application with input focus, or callers granted privileged background access.
Java documentation for android.content.ClipboardManager.getPrimaryClip().
Property setter documentation:
Sets the current primary clip on the clipboard. This is the clip that is involved in normal cut and paste operations.
Java documentation for android.content.ClipboardManager.setPrimaryClip(android.content.ClipData).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.