Partager via


HKHealthStore.DisableAllBackgroundDelivery Méthode

Définition

Désactive la remise en arrière-plan des notifications et exécute une action après la désactivation de la remise.

[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

Paramètres

completion
Action<Boolean,NSError>

Gestionnaire à exécuter une fois l’opération terminée.

Attributs

S’applique à