Language

ClipboardManager.PrimaryClipDescription Property

Definition

Returns a description of the current primary clip on the clipboard but not a copy of its data.

public virtual Android.Content.ClipDescription? PrimaryClipDescription { [Android.Runtime.Register("getPrimaryClipDescription", "()Landroid/content/ClipDescription;", "GetGetPrimaryClipDescriptionHandler")] get; }
[<get: Android.Runtime.Register("getPrimaryClipDescription", "()Landroid/content/ClipDescription;", "GetGetPrimaryClipDescriptionHandler")>]
member this.PrimaryClipDescription : Android.Content.ClipDescription

Property Value

A description of the current primary clip on the clipboard, but not a copy of its data. On Android 10 and later, clipboard access may be denied if the app is neither the default input method nor the app with input focus. If access is denied, this property returns null.

Attributes

Remarks

Returns a description of the current primary clip on the clipboard but not a copy of its data.

On Android 10 and later, clipboard access may be denied if the app is neither the default input method nor the app with input focus. If access is denied, this property returns null.

Java documentation for android.content.ClipboardManager.getPrimaryClipDescription().

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.

Applies to