Participant


@ExperimentalAppActions
public final class Participant


A representation of aspects of a participant in a Call.

Summary

Public constructors

Public methods

boolean
equals(Object other)
final @NonNull String

A unique identifier shared with remote surfaces that represents this participant.

final @NonNull CharSequence

The name of the Participant, which remote surfaces will display to users.

int
@NonNull String

Public constructors

Participant

Added in 1.0.0-beta01
public Participant(@NonNull String id, @NonNull CharSequence name)
Parameters
@NonNull String id

A unique identifier shared with remote surfaces that represents this participant. This value MUST be unique and stable for the life of the call, meaning that this ID should not change or be reused for the lifetime of the call.

@NonNull CharSequence name

The name of the Participant, which remote surfaces will display to users.

Public methods

equals

public boolean equals(Object other)

getId

Added in 1.0.0-beta01
public final @NonNull String getId()

A unique identifier shared with remote surfaces that represents this participant. This value MUST be unique and stable for the life of the call, meaning that this ID should not change or be reused for the lifetime of the call.

getName

Added in 1.0.0-beta01
public final @NonNull CharSequence getName()

The name of the Participant, which remote surfaces will display to users.

hashCode

public int hashCode()

toString

public @NonNull String toString()