HKHealthStore.DisableBackgroundDelivery Metodo

Definizione

Disabilita il recapito in background delle notifiche del tipo specificato ed esegue un'azione dopo che il recapito è stato disabilitato.

[Foundation.Export("disableBackgroundDeliveryForType:withCompletion:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DisableBackgroundDelivery (HealthKit.HKObjectType type, Action<bool,Foundation.NSError> completion);
abstract member DisableBackgroundDelivery : HealthKit.HKObjectType * Action<bool, Foundation.NSError> -> unit
override this.DisableBackgroundDelivery : HealthKit.HKObjectType * Action<bool, Foundation.NSError> -> unit

Parametri

type
HKObjectType

Tipo di oggetto per cui disabilitare le notifiche in background.

completion
Action<Boolean,NSError>

Gestore da eseguire al termine dell'operazione.

Attributi

Si applica a