Edytuj

Udostępnij za pośrednictwem


HMAccessoryDelegate.DidUpdateFirmwareVersion(HMAccessory, String) Method

Definition

Method that is called when the firmware version of accessory is updated to 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

Parameters

accessory
HMAccessory

The accessory whose firmware version was updated.

firmwareVersion
String

The new firmware version.

Attributes

Applies to