Language

RecentViewHint.Builder.SetSourceAppActivityComponentName Method

Definition

Records the source activity for the captured view text.

[Android.Runtime.Register("setSourceAppActivityComponentName", "(Landroid/content/ComponentName;)Landroid/app/personalcontext/hint/RecentViewHint$Builder;", "", ApiSince=37)]
public Android.App.PersonalContext.Hint.RecentViewHint.Builder SetSourceAppActivityComponentName(Android.Content.ComponentName sourceAppActivityComponentName);
[<Android.Runtime.Register("setSourceAppActivityComponentName", "(Landroid/content/ComponentName;)Landroid/app/personalcontext/hint/RecentViewHint$Builder;", "", ApiSince=37)>]
member this.SetSourceAppActivityComponentName : Android.Content.ComponentName -> Android.App.PersonalContext.Hint.RecentViewHint.Builder

Parameters

sourceAppActivityComponentName
ComponentName

The activity component from which the text captures came.

Returns

This builder with the source activity stored.

Attributes

Remarks

The component must be non-null and must be set before building.

Applies to