편집

다음을 통해 공유


HMTimerTrigger.UpdateFireDate(NSDate, Action<NSError>) Method

Definition

Updates the fire date by using fireDate and runs completion after it has finished.

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

Parameters

fireDate
NSDate
completion
Action<NSError>

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

Attributes

Applies to