다음을 통해 공유


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 되는 처리기 또는 실패 시 오류 개체입니다.

특성

적용 대상