ShortcutInfo.Builder.SetActivity(ComponentName) Method

Definition

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

Parameters

activity
ComponentName

Returns

ShortcutInfo.Builder
Attributes

Remarks

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