HKHealthStore.DisableBackgroundDelivery Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Disables the background delivery of notifications of the specified type and runs an action after delivery has been disabled.
[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
Parameters
- type
- HKObjectType
The object type for which to disable background notifications.
- Attributes