@modelhealth/modelhealth
    Preparing search index...

    Interface MotionData

    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.

    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
    }
    interface MotionData {
        data: Uint8Array;
        type: MotionDataType;
    }
    Index

    Properties

    Properties

    data: Uint8Array

    The raw file data. Parse according to the format implied by type.

    The type of result data and its file format.