Language

AssistantQueryResponse.Builder.SetQueryResponse(String) Method

Definition

Sets the optional string response generated for the query.

[Android.Runtime.Register("setQueryResponse", "(Ljava/lang/String;)Landroid/app/privatecompute/AssistantQueryResponse$Builder;", "", ApiSince=37)]
public Android.App.PrivateCompute.AssistantQueryResponse.Builder SetQueryResponse(string? queryResponse);
[<Android.Runtime.Register("setQueryResponse", "(Ljava/lang/String;)Landroid/app/privatecompute/AssistantQueryResponse$Builder;", "", ApiSince=37)>]
member this.SetQueryResponse : string -> Android.App.PrivateCompute.AssistantQueryResponse.Builder

Parameters

queryResponse
String

The response string generated. This value may be null.

Returns

This Builder instance. This value cannot be null.

Attributes

Remarks

Sets the optional string response generated for the query.

Android reference for android.app.privatecompute.AssistantQueryResponse.Builder.setQueryResponse.

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