Edit

Share via


HMTimerTrigger.UpdateTimeZone(NSTimeZone, Action<NSError>) Method

Definition

Updates the time zone by using timeZone and runs completion after it has finished.

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

Parameters

timeZone
NSTimeZone

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