次の方法で共有


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

Attributes

Remarks

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 false.</em>

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