Provides information about a user in a Connected Lens session.

interface UserInfo {
    connectionId: string;
    displayName: string;
    joinServerTimeMilliseconds: number;
    userId: string;
    getTypeName(): string;
    isOfType(type: string): boolean;
    isSame(other: ScriptObject): boolean;
}

Hierarchy (view full)

Properties

connectionId: string
displayName: string

The current display name of the user.

joinServerTimeMilliseconds: number

Provides the server timestamp (in milliseconds) that the user joined the session.

userId: string

A unique identifier for each participant of connected lens experience. It is unique per lens for each user.

Methods

  • Returns true if the object matches or derives from the passed in type.

    Parameters

    • type: string

    Returns boolean

  • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

    Parameters

    Returns boolean