HKHealthStore.DisableAllBackgroundDelivery Method

Definition

Disables the background delivery of notifications and runs an action after delivery has been disabled.

[Foundation.Export("disableAllBackgroundDeliveryWithCompletion:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DisableAllBackgroundDelivery (Action<bool,Foundation.NSError> completion);
abstract member DisableAllBackgroundDelivery : Action<bool, Foundation.NSError> -> unit
override this.DisableAllBackgroundDelivery : Action<bool, Foundation.NSError> -> unit

Parameters

completion
Action<Boolean,NSError>

A handler to run when the operation completes.

Attributes

Applies to