次の方法で共有


HMTimerTrigger.UpdateTimeZone(NSTimeZone, Action<NSError>) メソッド

定義

を使用timeZoneしてタイム ゾーンを更新し、完了後に実行しますcompletion

[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

パラメーター

timeZone
NSTimeZone

追加する。

このパラメーターは、null に設定できます。

completion
Action<NSError>

成功した場合は を返す null ハンドラー、または失敗した場合はエラー オブジェクト。

属性

適用対象