編輯

共用方式為


HMTimerTrigger.UpdateRecurrence Method

Definition

Updates the recurrence by using recurrence and runs completion after it has finished.

[Foundation.Export("updateRecurrence:completionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void UpdateRecurrence (Foundation.NSDateComponents recurrence, Action<Foundation.NSError> completion);
abstract member UpdateRecurrence : Foundation.NSDateComponents * Action<Foundation.NSError> -> unit
override this.UpdateRecurrence : Foundation.NSDateComponents * Action<Foundation.NSError> -> unit

Parameters

recurrence
NSDateComponents

To be added.

This parameter can be null.

completion
Action<NSError>

A handler that returns null on success, or an error object on failure.

Attributes

Applies to