Språk

ITextClassifier.ExtraClassificationTimeoutMs Field

Definition

Extra indicating the classification timeout in milliseconds (as a long) allowed for this text classification request.

[Android.Runtime.Register("EXTRA_CLASSIFICATION_TIMEOUT_MS", ApiSince=37)]
public const string ExtraClassificationTimeoutMs;
[<Android.Runtime.Register("EXTRA_CLASSIFICATION_TIMEOUT_MS", ApiSince=37)>]
val mutable ExtraClassificationTimeoutMs : string

Field Value

Attributes

Remarks

Extra indicating the classification timeout in milliseconds (as a long) allowed for this text classification request.

If this extra is missing, the timeout is unknown (legacy caller). If this extra is set to TIMEOUT_NO_TIMEOUT (0L), there is no strict timeout and results may arrive asynchronously without causing UI blocking or layout shifts. If set to a positive number, it indicates the timeout budget in milliseconds.

Android reference for android.view.textclassifier.TextClassifier.EXTRA_CLASSIFICATION_TIMEOUT_MS.

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