-
Notifications
You must be signed in to change notification settings - Fork 48
WebAWSDynamoDB
Component which uploads data to an AWS DynamoDB on Web based builds.
requestCallbackMap
: When we read from the database, we use SendMessage to send the data back. This dictionary stores the user's callback
and a unique string as the key to make sure the data gets sent to the right callback.
None
UXF.WebAWSDynamoDB.HandleDataTable(UXF.UXFDataTable, string, string, int, string, UXF.UXFDataType, int)
Handles a UXF Data Table. Should not normally be called by the user. Instead, call session.SaveDataTable() or trial.SaveDataTable().
Parameters
table
:
experiment
:
ppid
:
sessionNum
:
dataName
:
dataType
:
optionalTrialNum
:
UXF.WebAWSDynamoDB.HandleJSONSerializableObject(System.Collections.Generic.List<object>, string, string, int, string, UXF.UXFDataType, int)
Handle a JSON-Serializable object. Should not normally be called by the user. Instead, call session.SaveJSONSerializableObject() or trial.SaveJSONSerializableObject().
Parameters
serializableObject
:
experiment
:
ppid
:
sessionNum
:
dataName
:
dataType
:
optionalTrialNum
:
UXF.WebAWSDynamoDB.HandleBytes(System.Byte[], string, string, int, string, UXF.UXFDataType, int)
Handles a byte array. Should not normally be called by the user. Instead, call session.SaveBytes() or trial.SaveBytes().
Parameters
bytes
:
experiment
:
ppid
:
sessionNum
:
dataName
:
dataType
:
optionalTrialNum
:
UXF.WebAWSDynamoDB.HandleText(string, string, string, int, string, UXF.UXFDataType, int)
Handles a string. Should not normally be called by the user. Instead, call session.SaveBytes() or trial.SaveBytes().
Parameters
text
:
experiment
:
ppid
:
sessionNum
:
dataName
:
dataType
:
optionalTrialNum
:
UXF.WebAWSDynamoDB.HandleJSONSerializableObject(System.Collections.Generic.Dictionary<string, object>, string, string, int, string, UXF.UXFDataType, int)
Handle a JSON-Serializable object. Should not normally be called by the user. Instead, call session.SaveJSONSerializableObject() or trial.SaveJSONSerializableObject().
Parameters
serializableObject
:
experiment
:
ppid
:
sessionNum
:
dataName
:
dataType
:
optionalTrialNum
:
UXF.WebAWSDynamoDB.PutCustomDataInDB(string, System.Collections.Generic.Dictionary<string, object>)
Put an item in the database.
Parameters
tableName
: The name of the table where the data should be stored
item
: A dictionary with a string column name as the key, and any value as the object. These will automatically be turned into a database request for you.
UXF.WebAWSDynamoDB.HandleBeforeUnloadEvent()
This is called when the user tries to close the tab.
Parameters
None
UXF.WebAWSDynamoDB.IsCompatibleWith(UnityEditor.BuildTargetGroup)
Returns true if this data handler is definitley compatible with this build target.
Parameters
buildTarget
:
UXF.WebAWSDynamoDB.IsIncompatibleWith(UnityEditor.BuildTargetGroup)
Returns true if this data handler is definitley incompatible with this build target.
Parameters
buildTarget
:
Note: This file was automatically generated
๐ง Core topics
- ๐ Background
- โจ UXF 2.0
- โ๏ธ Compatibility
- ๐ถ๏ธ Oculus Quest Setup
- ๐ญ Concepts
- ๐ ๏ธ Get started
- ๐ Examples
- ๐ฅ๏ธ Built-in UI
- ๐ Session generation
- โฐ Events
- ๐ Data collection
- โ๏ธ Collect custom data
- ๐ Custom Data Handler
- ๐ Remote Data Collection
- ๐๏ธ WebGL DynamoDB setup
- ๐ Processing DynamoDB CSVs
- ๐ซ HTTP Post Setup
- ๐ง Settings system
- ๐๐ฝ Tracker system
- ๐ Logging system
โ ๏ธ Common issues- ๐ผ๏ธ Multi-scene experiments
- ๐บ Videos
- ๐จโ๐ Full written tutorial
- ๐ฆ Asset links
- ๐จโ๐ซ Unity tutorial links
- ๐ Useful code snippets
- ๐ก Programming ideas
- ๐งฎ Example R processing