is Agent
Returns whether this participant is an AI agent.
This is a convenience method that avoids the need for instanceof checks. The base implementation returns false; the live.videosdk.rtc.android.agent.AgentParticipant subclass overrides this to return true.
Code Example:
if (participant.isAgent()) {
AgentParticipant agent = (AgentParticipant) participant;
// interact with agent-specific APIs
}
Content copied to clipboard
Return
false for regular participants, true for agents