HKStatisticsCollectionQuery.SetStatisticsUpdateHandler 方法

定义

注意

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

为更新的结果分配处理程序。

[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

参数

属性

适用于