StreamUpdate Class
- java.
lang. Object - com.
azure. ai. agents. persistent. models. StreamUpdate
- com.
public abstract class StreamUpdate
Parent class for all stream updates types.
Constructor Summary
| Constructor | Description |
|---|---|
| StreamUpdate(PersistentAgentStreamEvent kind) |
We always want to know to which PersistentAgentStreamEvent this Stream |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Persistent |
getKind()
Returns what kind of Stream |
Methods inherited from java.lang.Object
Constructor Details
StreamUpdate
public StreamUpdate(PersistentAgentStreamEvent kind)
We always want to know to which PersistentAgentStreamEvent this StreamUpdate is associated, therefore we enforce any deriving class to supply it upon construction of a new instance.
Parameters:
Method Details
getKind
public PersistentAgentStreamEvent getKind()
Returns what kind of StreamUpdate this is. See PersistentAgentStreamEvent for possible values.
Returns: