Motion data downloaded from a processed activity.
Each instance carries the type that was requested, which also implies the file format. Use type to determine how to parse data.
type
data
const results = await client.motionDataForActivity(activity, ["kinematics_mot"]);for (const result of results) { // result.type identifies both the type and implicit file format // Use result.data directly as a .mot file} Copy
const results = await client.motionDataForActivity(activity, ["kinematics_mot"]);for (const result of results) { // result.type identifies both the type and implicit file format // Use result.data directly as a .mot file}
The raw file data. Parse according to the format implied by type.
The type of result data and its file format.
Motion data downloaded from a processed activity.
Each instance carries the
typethat was requested, which also implies the file format. Usetypeto determine how to parsedata.Example