Share via


ComputerScreenshot Class

Definition

The output from a computer use tool representing a screenshot.

public class ComputerScreenshot : System.ClientModel.Primitives.IJsonModel<Azure.AI.Agents.Persistent.ComputerScreenshot>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Agents.Persistent.ComputerScreenshot>
type ComputerScreenshot = class
    interface IJsonModel<ComputerScreenshot>
    interface IPersistableModel<ComputerScreenshot>
Public Class ComputerScreenshot
Implements IJsonModel(Of ComputerScreenshot), IPersistableModel(Of ComputerScreenshot)
Inheritance
ComputerScreenshot
Implements

Constructors

Name Description
ComputerScreenshot()

Initializes a new instance of ComputerScreenshot.

Properties

Name Description
FileId

The identifier of an uploaded file that contains the screenshot.

ImageUrl

The URL of the screenshot image.

Type

Specifies the event type. For a computer screenshot, this property is always set to computer_screenshot.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ComputerScreenshot>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ComputerScreenshot>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputerScreenshot>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputerScreenshot>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ComputerScreenshot>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to