View.PerformReceiveContent(ContentInfo) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Reçoit le contenu donné.
[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
Paramètres
- payload
- ContentInfo
Contenu à insérer et aux métadonnées associées.
Retours
Partie du contenu transmis qui n’a pas été accepté (peut être tout, certains ou aucun contenu transmis).
- Attributs
Remarques
Reçoit le contenu donné. Si aucun écouteur n’est défini, appelle #onReceiveContent. Si un écouteur est #setOnReceiveContentListener set, appelle l’écouteur à la place ; si l’écouteur retourne un résultat non null, appelle #onReceiveContent pour le gérer.
Java documentation pour android.view.View.performReceiveContent(android.view.ContentInfo).
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.