Table of Contents

Class UserAgent

Namespace
AssemblyAI
Assembly
AssemblyAI.dll

The AssemblyAI user agent.

public class UserAgent
Inheritance
UserAgent
Inherited Members

Constructors

UserAgent()

Create a new instance of the UserAgent class.

public UserAgent()

UserAgent(UserAgent, UserAgent)

Create a new instance of the UserAgent class by merging two user agents.

public UserAgent(UserAgent a, UserAgent b)

Parameters

a UserAgent

User agent A

b UserAgent

User agent B

UserAgent(Dictionary<string, UserAgentItem?>)

Create a new instance of the UserAgent class from a dictionary.

public UserAgent(Dictionary<string, UserAgentItem?> userAgent)

Parameters

userAgent Dictionary<string, UserAgentItem>

Fields

Default

The default AssemblyAI user agent.

public static readonly UserAgent Default

Field Value

UserAgent

Properties

this[string]

Get or set a user agent item by key.

public UserAgentItem? this[string index] { get; set; }

Parameters

index string

The name of the user agent item

Property Value

UserAgentItem

Methods

ToAssemblyAIUserAgentString()

Convert the AssemblyAI user agent to a string.

public string ToAssemblyAIUserAgentString()

Returns

string

The AssemblyAI user agent section