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
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
Properties
this[string]
Get or set a user agent item by key.
public UserAgentItem? this[string index] { get; set; }
Parameters
index
stringThe name of the user agent item
Property Value
Methods
ToAssemblyAIUserAgentString()
Convert the AssemblyAI user agent to a string.
public string ToAssemblyAIUserAgentString()
Returns
- string
The AssemblyAI user agent section