Builder

Class of android.view.textclassifier, in TextSelection · TextSelection.java · Android's reference

public static final class Builder

Constructors

public Builder(int startIndex, int endIndex) source

Methods

public Builder setEntityType(String type, float confidenceScore) source
public Builder setId(String id) source
public Builder setTextClassification(TextClassification textClassification) source
public TextSelection build() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.