HKWorkoutSessionDelegate.DidChangeToState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("workoutSession:didChangeToState:fromState:date:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DidChangeToState(HealthKit.HKWorkoutSession workoutSession, HealthKit.HKWorkoutSessionState toState, HealthKit.HKWorkoutSessionState fromState, Foundation.NSDate date);
[<Foundation.Export("workoutSession:didChangeToState:fromState:date:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DidChangeToState : HealthKit.HKWorkoutSession * HealthKit.HKWorkoutSessionState * HealthKit.HKWorkoutSessionState * Foundation.NSDate -> unit
override this.DidChangeToState : HealthKit.HKWorkoutSession * HealthKit.HKWorkoutSessionState * HealthKit.HKWorkoutSessionState * Foundation.NSDate -> unit
Parameters
- workoutSession
- HKWorkoutSession
- toState
- HKWorkoutSessionState
- fromState
- HKWorkoutSessionState
- date
- NSDate
Implements
- Attributes