Edytuj

Udostępnij za pośrednictwem


HKStatisticsCollectionQuery.SetStatisticsUpdateHandler Method

Definition

Caution

Use 'StatisticsUpdated', this handler uses an incorrect type and does nothing to avoid a crash.

Assigns a handler for updated results.

[System.Obsolete("Use 'StatisticsUpdated', this handler uses an incorrect type and does nothing to avoid a crash.")]
public virtual void SetStatisticsUpdateHandler (HealthKit.HKStatisticsCollectionQueryInitialResultsHandler handler);
abstract member SetStatisticsUpdateHandler : HealthKit.HKStatisticsCollectionQueryInitialResultsHandler -> unit
override this.SetStatisticsUpdateHandler : HealthKit.HKStatisticsCollectionQueryInitialResultsHandler -> unit

Parameters

Attributes

Applies to