MENU
    Introduction
    • 13 Apr 2023
    • 1 Minute to read
    • Contributors
    • Dark
    • PDF

    Introduction

    • Dark
    • PDF

    Article summary

    Description

    The avatar object provides a way for scripts to interact with the virtual avatar connected to your app.


    Properties

    Below is a list of properties supported by this object.

    NameDescriptionUWPWebAvatars
    connectedReturns whether or not an avatar is connected to the runtimeYesYesYes
    agePatient's ageYesYesYes
    dobPatient's date of birthYesYesYes
    genderPatient's gender (M = Male; F = Female; U = Unknown)YesYesYes

    Functions

    Below is a list of functions supported by this object.

    NameDescriptionUWPWebAvatars
    connectConnects to an avatar associated with the specified identityYesYesYes
    getGets moment(s) from an avatar's memoryYesYesYes
    getValueGets the value of the latest (most recent) specified moment from an avatar's memoryYesYesYes
    setSets a moment into an avatar's memoryYesYesYes
    seriesConverts an array of moments into a data seriesYesYesYes

    Remarks

    Avatars are a powerful concept that represent any person, place, or thing.

    Avatars have a temporal memory for sharing information between projects. Apps can also be installed into avatars to enhanced their intelligence.

    Dr. Know products typically already have a connected avatar (i.e. patient) when your scripts run. This means you already have access to this avatar (via the avatar object) and can skip this connection step.

    Definition

    Avatars and identities are special Symmetry concepts. An avatar represents any person, place, or thing. An identity is used to identify and connect to an avatar. Learn more at The Symmetry Project.


    What's Next