RecentViewHint.Builder.SetSourceAppActivityComponentName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.