Compartilhar via


ShareActionProvider.SetOnShareTargetSelectedListener Método

Definição

Define um ouvinte a ser notificado quando um destino de compartilhamento for selecionado.

[Android.Runtime.Register("setOnShareTargetSelectedListener", "(Landroid/widget/ShareActionProvider$OnShareTargetSelectedListener;)V", "GetSetOnShareTargetSelectedListener_Landroid_widget_ShareActionProvider_OnShareTargetSelectedListener_Handler")]
public virtual void SetOnShareTargetSelectedListener (Android.Widget.ShareActionProvider.IOnShareTargetSelectedListener? listener);
[<Android.Runtime.Register("setOnShareTargetSelectedListener", "(Landroid/widget/ShareActionProvider$OnShareTargetSelectedListener;)V", "GetSetOnShareTargetSelectedListener_Landroid_widget_ShareActionProvider_OnShareTargetSelectedListener_Handler")>]
abstract member SetOnShareTargetSelectedListener : Android.Widget.ShareActionProvider.IOnShareTargetSelectedListener -> unit
override this.SetOnShareTargetSelectedListener : Android.Widget.ShareActionProvider.IOnShareTargetSelectedListener -> unit

Parâmetros

Atributos

Comentários

Documentação Java para android.widget.ShareActionProvider.setOnShareTargetSelectedListener(android.widget.OnShareTargetSelectedListener).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Android Open Source Project e usado de acordo com os termos descritos na Creative Commons 2.5 Attribution License.

Aplica-se a