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

新的固件版本。

属性

适用于