UserData.Builder.SetFieldClassificationAlgorithmForCategory 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.
Sets the algorithm used for field classification for the specified category.
[Android.Runtime.Register("setFieldClassificationAlgorithmForCategory", "(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Landroid/service/autofill/UserData$Builder;", "", ApiSince=29)]
public Android.Service.Autofill.UserData.Builder SetFieldClassificationAlgorithmForCategory(string categoryId, string? name, Android.OS.Bundle? args);
[<Android.Runtime.Register("setFieldClassificationAlgorithmForCategory", "(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Landroid/service/autofill/UserData$Builder;", "", ApiSince=29)>]
member this.SetFieldClassificationAlgorithmForCategory : string * string * Android.OS.Bundle -> Android.Service.Autofill.UserData.Builder
Parameters
- categoryId
- String
autofill field category. This value cannot be null.
- name
- String
name of the algorithm or null to used default.
- args
- Bundle
optional arguments to the algorithm. This value may be null.
Returns
this builder. This value cannot be null.
- Attributes
Remarks
Sets the algorithm used for field classification for the specified category.
The currently available algorithms can be retrieved through AutofillManager.getAvailableFieldClassificationAlgorithms().
If not set, the default algorithm is used instead.
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.