One Logo Pool Ball
Additional SDK Modules · IOS API REFERENCE

_AppIntents_HealthKit

Explore _AppIntents_HealthKit types and the APIs available through One's generated iOS bindings.

1 types

9 callable entries

0 skipped

100% entry coverage

Generated from iOS SDK 27.1. Availability is shown on each declaration; permissions and entitlements still apply.

Types

Functions and constants

static · iOS 27.0+

workout

TypeScript
static workoutActivityType(activityType: _HealthKit_HKWorkoutActivityType): _AppIntents_AudioContext
Swift declaration
static func workout(activityType: HKWorkoutActivityType) -> AudioContext

A workout session of the given activity type. - Parameter activityType: The type of workout in progress.

static · iOS 27.0+

workout

TypeScript
static workoutIntensityLevel(intensityLevel: AudioContext_WorkoutIntensityLevel): _AppIntents_AudioContext
Swift declaration
static func workout(intensityLevel: AudioContext.WorkoutIntensityLevel) -> AudioContext

A workout session of the given intensity level. - Parameter intensityLevel: The intensity of the workout.

get · iOS 27.0+

workout

TypeScript
static get workout(): _AppIntents_AudioContext
Swift declaration
static var workout: AudioContext { get }

A workout session of any type. Use this to donate entities relevant to any workout, regardless of activity type or intensity. You can donate entities to multiple workout contexts simultaneously. More specific contexts (e.g., a specific activity type) give the system stronger hints than broader ones (e.g., any workout). The system considers all matching entities and their relevance when determining what to suggest.

Skipped declarations

No declarations were skipped in this snapshot.