Partager via


TranslationResponseValue.Builder(Int32) Constructor

Definition

Creates a new Builder.

[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=31)]
public Builder (int statusCode);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=31)>]
new Android.Views.Translation.TranslationResponseValue.Builder : int -> Android.Views.Translation.TranslationResponseValue.Builder

Parameters

statusCode
Int32

The status code of this TranslationResponseValue.

          &lt;p&gt;If the status code is <code data-dev-comment-type="c">#STATUS_ERROR</code>, no values are attached, and all getters will
          return <code data-dev-comment-type="c">null</code>.
Attributes

Remarks

Creates a new Builder.

Java documentation for android.view.translation.TranslationResponseValue.Builder.TranslationResponseValue$Builder(int).

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