PutData: ((appendData) => Record<string, any>)

Type declaration

    • (appendData): Record<string, any>
    • merging player.setTextData() like player.setTextData({...previousData, ...appendData})

      Parameters

      • appendData: Record<string, any>

      Returns Record<string, any>

      Example

      putData({ foo: 1 }); // { foo: 1 }
      putData({ bar: 2 }); // { foo: 1, bar: 2 }
      getData(); // { foo: 1, bar: 2 }

Generated using TypeDoc