Integration Options/AI Experiences

AI Experiences

AI-powered movement-based games and clinical balance assessments with real-time motion tracking.


AI Games:

GameExercise ID
Balloon Popballoonpop
Color Memorycolorchase
Alien Squat Shooteraliensquatshooter

Balance Assessments:

AssessmentExercise ID
Timed Up and Go (TUG)tug
Gait Speed Testgaitspeedtest
Sit-to-Standsittostand
Functional Reach Testfunctionalreachtest
Single Leg Stance Testsinglelegstancetest
Five Times Sit-to-Standfivetimessts
Side-by-Side Standsidebysidestand
Semi-Tandem Standsemitandemstand
Full Tandem Standfulltandem
assessments landing
+SharedWorkout UI

Exercise tracking, stats & review

Experience View
1// Launch an AI game or balance assessment
2// Pass the exercise ID from the tables above
3kinestex.createExperienceView(
4    experience: "assessment", // experience type
5    exercise: "balloonpop",   // exercise ID from table
6    user: nil,
7    isLoading: $isLoading,
8    customParams: ["style": "dark"],
9    onMessageReceived: { message in
10        switch message {
11        case .exit_kinestex(_):
12            showKinesteX = false
13        default:
14            break
15        }
16    }
17)
Complete Example
1import SwiftUI
2import KinesteXAIKit
3
4struct ExperienceIntegrationView: View {
5    @State private var showKinesteX = false
6    @State private var isLoading = false
7
8    // Initialize KinesteXAIKit
9    // Replace with your KinesteX credentials
10    let kinesteXKit = KinesteXAIKit(
11        apiKey: "YOUR API KEY",
12        companyName: "YOUR COMPANY NAME",
13        userId: "YOUR USER ID"
14    )
15
16    // Parameters for the experience
17    let experienceName = "assessment" // Name of the AI experience
18    let experienceExercise = "balloonpop" // Exercise ID from table
19
20    var body: some View {
21        VStack {
22            Text("KinesteX Experience Integration")
23                .font(.title)
24                .padding()
25
26            Spacer()
27
28            Button(action: {
29                showKinesteX.toggle()
30            }) {
31                Text("Start '\(experienceName.capitalized)' Experience")
32                    .font(.title3)
33                    .foregroundColor(.white)
34                    .bold()
35                    .padding()
36                    .frame(maxWidth: .infinity)
37                    .background(Color.teal.cornerRadius(10))
38                    .padding(.horizontal)
39            }
40            .padding()
41
42            Spacer()
43        }
44        .fullScreenCover(isPresented: $showKinesteX) {
45            kinesteXKit.createExperienceView(
46                experience: experienceName,
47                exercise: experienceExercise,
48                user: nil,
49                isLoading: $isLoading,
50                customParams: ["style": "dark"],
51                onMessageReceived: { message in
52                    switch message {
53                    case .exit_kinestex(_):
54                        showKinesteX = false
55                    default:
56                        print("Message received: \(message)")
57                    }
58                }
59            )
60        }
61    }
62}
63
64#Preview {
65    ExperienceIntegrationView()
66}

Need Help?

Our team is ready to assist with your integration.

Contact Support
KinesteX

Personal AI Fitness Trainer & Motion Analysis SDK for Health & Fitness Apps

Contacts

hello@kinestex.com

Supported by

AMKM Investments supporting KinesteXin5 Tech
© 2024. All rights reserved. KinesteX
KinesteX TwitterKinesteX Inst