HMTimerTrigger.UpdateFireDate(NSDate, Action<NSError>) 方法

定义

使用 fireDate 汇报火日期,并在完成之后运行completion

[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

参数

fireDate
NSDate
completion
Action<NSError>

一个在成功时返回的 null 处理程序,或在失败时返回错误对象。

属性

适用于