Compartilhar via


View.PerformReceiveContent(ContentInfo) Method

Definition

Receives the given content.

[Android.Runtime.Register("performReceiveContent", "(Landroid/view/ContentInfo;)Landroid/view/ContentInfo;", "GetPerformReceiveContent_Landroid_view_ContentInfo_Handler", ApiSince=31)]
public virtual Android.Views.ContentInfo? PerformReceiveContent (Android.Views.ContentInfo payload);
[<Android.Runtime.Register("performReceiveContent", "(Landroid/view/ContentInfo;)Landroid/view/ContentInfo;", "GetPerformReceiveContent_Landroid_view_ContentInfo_Handler", ApiSince=31)>]
abstract member PerformReceiveContent : Android.Views.ContentInfo -> Android.Views.ContentInfo
override this.PerformReceiveContent : Android.Views.ContentInfo -> Android.Views.ContentInfo

Parameters

payload
ContentInfo

The content to insert and related metadata.

Returns

The portion of the passed-in content that was not accepted (may be all, some, or none of the passed-in content).

Attributes

Remarks

Receives the given content. If no listener is set, invokes #onReceiveContent. If a listener is #setOnReceiveContentListener set, invokes the listener instead; if the listener returns a non-null result, invokes #onReceiveContent to handle it.

Java documentation for android.view.View.performReceiveContent(android.view.ContentInfo).

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