All Implemented Interfaces
public final class Identity
Information about session Participant
Nested Class Summary
| Modifier and Type |
Class |
Description |
public enum |
Identity.Role |
Session Participant role |
Field Summary
| Modifier and Type |
Field |
Description |
private final Boolean |
isHost |
|
private final Identity.Role |
role |
|
private final String |
name |
|
private final String |
company |
|
private final Long |
connectedAt |
|
Constructor Summary
| Constructor |
Description |
Identity(Identity.Role role, String name, String company, Long connectedAt) |
|
Enum Constant Summary
| Enum Constant |
Description |
Method Summary
| Modifier and Type |
Method |
Description |
final Boolean |
isHost() |
|
final Identity.Role |
getRole() |
|
final String |
getName() |
|
final String |
getCompany() |
|
final Long |
getConnectedAt() |
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
Identity
Identity(Identity.Role role, String name, String company, Long connectedAt)
Parameters:
role - HOST or GUEST. For the most cases SDK client is a GUEST
name - name provided in user profile
company - company specified in user profile
connectedAt - user connection Unix epoch timestamp
Method Detail
isHost
final Boolean isHost()
getRole
final Identity.Role getRole()
getName
final String getName()
getCompany
final String getCompany()
getConnectedAt
final Long getConnectedAt()