Compartilhar via


ShortcutInfo.Builder.SetActivity(ComponentName) Método

Definição

[Android.Runtime.Register("setActivity", "(Landroid/content/ComponentName;)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetActivity_Landroid_content_ComponentName_Handler", ApiSince=25)]
public virtual Android.Content.PM.ShortcutInfo.Builder SetActivity (Android.Content.ComponentName activity);
[<Android.Runtime.Register("setActivity", "(Landroid/content/ComponentName;)Landroid/content/pm/ShortcutInfo$Builder;", "GetSetActivity_Landroid_content_ComponentName_Handler", ApiSince=25)>]
abstract member SetActivity : Android.Content.ComponentName -> Android.Content.PM.ShortcutInfo.Builder
override this.SetActivity : Android.Content.ComponentName -> Android.Content.PM.ShortcutInfo.Builder

Parâmetros

activity
ComponentName

Retornos

Atributos

Comentários

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