Language

ClipboardManager.HasPrimaryClip Property

Definition

Returns true if there is currently a primary clip on the clipboard.

public virtual bool HasPrimaryClip { [Android.Runtime.Register("hasPrimaryClip", "()Z", "GetHasPrimaryClipHandler")] get; }
[<get: Android.Runtime.Register("hasPrimaryClip", "()Z", "GetHasPrimaryClipHandler")>]
member this.HasPrimaryClip : bool

Property Value

Returns true if a primary clip is available to this application. Clipboard reads are permitted for the default IME, an application with input focus, or callers granted privileged background access; otherwise returns false.

Attributes

Remarks

Returns true if a primary clip is available to this application. Clipboard reads are permitted for the default IME, an application with input focus, or callers granted privileged background access; otherwise returns false.

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

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