Share via


ClipboardManager.IOnPrimaryClipChangedListener.OnPrimaryClipChanged Method

Definition

Callback that is invoked by android.content.ClipboardManager when the primary clip changes.

[Android.Runtime.Register("onPrimaryClipChanged", "()V", "GetOnPrimaryClipChangedHandler:Android.Content.ClipboardManager/IOnPrimaryClipChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnPrimaryClipChanged ();
[<Android.Runtime.Register("onPrimaryClipChanged", "()V", "GetOnPrimaryClipChangedHandler:Android.Content.ClipboardManager/IOnPrimaryClipChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnPrimaryClipChanged : unit -> unit
Attributes

Remarks

Callback that is invoked by android.content.ClipboardManager when the primary clip changes.

This is called when the result of ClipDescription#getClassificationStatus() changes, as well as when new clip data is set. So in cases where text classification is performed, this callback may be invoked multiple times for the same clip.

Java documentation for android.content.ClipboardManager.OnPrimaryClipChangedListener.onPrimaryClipChanged().

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