ContentRequest
public
class
ContentRequest
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.ai.ContentRequest |
Class to build the request to the API.
Summary
Nested classes | |
|---|---|
class |
ContentRequest.Content
|
class |
ContentRequest.InlineData
|
class |
ContentRequest.Part
|
Public constructors | |
|---|---|
ContentRequest(String textPrompt)
|
|
ContentRequest(String textPrompt,
|
|
Public constructors
ContentRequest
public ContentRequest (String textPrompt)
| Parameters | |
|---|---|
textPrompt |
String |
ContentRequest
public ContentRequest (String textPrompt,
inlineData) | Parameters | |
|---|---|
textPrompt |
String |
inlineData |
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-12-04 UTC.