Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to start / end an HKWorkoutSession? #159

Open
kamarmack opened this issue May 12, 2020 · 0 comments
Open

Is there a way to start / end an HKWorkoutSession? #159

kamarmack opened this issue May 12, 2020 · 0 comments

Comments

@kamarmack
Copy link

My app has guided workout routines. Is there a way to 1) start / end an HKWorkoutSession and pass some metadata about the HKWorkoutActivityType, e.g. high intensity interval training? I would attach this callback to my "Get Started" and "End Session" buttons.

From what I understand about the getSample() and setObserver() docs these only provide read access to the user's HKWorkoutSessions that they initiate through the native Activity app. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant