共用方式為


HMAccessoryDelegate.DidUpdateFirmwareVersion(HMAccessory, String) 方法

定義

當 的 accessory 韌體版本更新為 firmwareVersion 時所呼叫的方法。

[Foundation.Export("accessory:didUpdateFirmwareVersion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidUpdateFirmwareVersion (HomeKit.HMAccessory accessory, string firmwareVersion);
abstract member DidUpdateFirmwareVersion : HomeKit.HMAccessory * string -> unit
override this.DidUpdateFirmwareVersion : HomeKit.HMAccessory * string -> unit

參數

accessory
HMAccessory

韌體版本已更新的配件。

firmwareVersion
String

新的韌體版本。

屬性

適用於