Lens Scripting API

    Provides information about a user in a Connected Lens session.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    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

    MMNEPVFCICPMFPCPTTAAATR