Lens Scripting API

    Information for a user who submitted a score to the leaderboard.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    globalExactRank?: number

    The numerical rank of the user in the global leaderboard.

    globalRankPercentile: number

    The percentile rank of the user in the global leaderboard.

    score: number

    The exact score of the user.

    snapchatUser: SnapchatUser

    The user which submitted the score. Display name and user name will not be available for global users.

    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