asyncfunctioninit(){ letfriends = awaitgetFriends(); friends.forEach(f=> { letfriendshipStartDate = f.friendInfo.friendshipStart; letlastInteractionTime = f.friendInfo.lastInteractionTime; print(`Friendship with ${f.displayName} started on ${friendshipStartDate}, last interacted on ${lastInteractionTime}`) }); }
Last interaction between this user and the active one.
Since
Lens Scripting Version 347
Methods
StaticgetTypeName
getTypeName():string
Returns the fully-qualified JavaScript type name for this class (for example, "Component.Camera"). This is a static accessor (no instance required) and returns the same value as the instance getTypeName().
Details about friendship between the active user and another user.
Since
Lens Scripting Version 347
Example