Condividi tramite


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

Definizione

Aggiornamenti la data di attivazione utilizzando fireDate e viene eseguita completion al termine.

[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

Parametri

fireDate
NSDate
completion
Action<NSError>

Gestore che restituisce null l'esito positivo o un oggetto errore in caso di errore.

Attributi

Si applica a