Share via


TextClassifier.ExtraTextOriginPackage Field

Definition

Caution

Use 'Android.Views.TextClassifiers.ITextClassifier.ExtraTextOriginPackage'. This class will be removed in a future release.

Extra specifying the package name of the app from which the text to be classified originated.

[Android.Runtime.Register("EXTRA_TEXT_ORIGIN_PACKAGE", ApiSince=36)]
[System.Obsolete("Use 'Android.Views.TextClassifiers.ITextClassifier.ExtraTextOriginPackage'. This class will be removed in a future release.")]
public const string ExtraTextOriginPackage;
[<Android.Runtime.Register("EXTRA_TEXT_ORIGIN_PACKAGE", ApiSince=36)>]
[<System.Obsolete("Use 'Android.Views.TextClassifiers.ITextClassifier.ExtraTextOriginPackage'. This class will be removed in a future release.")>]
val mutable ExtraTextOriginPackage : string

Field Value

Attributes

Remarks

Extra specifying the package name of the app from which the text to be classified originated.

For example, a notification assistant might use TextClassifier, but the notification content could originate from a different app. This key allows you to provide the package name of that source app.

Java documentation for android.view.textclassifier.TextClassifier.EXTRA_TEXT_ORIGIN_PACKAGE.

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