Condividi tramite


HMHome.UnblockAccessory(HMAccessory, Action<NSError>) Metodo

Definizione

Sblocca accessory dalla casa e viene eseguito completion dopo aver finito.

[Foundation.Export("unblockAccessory:completionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void UnblockAccessory (HomeKit.HMAccessory accessory, Action<Foundation.NSError> completion);
abstract member UnblockAccessory : HomeKit.HMAccessory * Action<Foundation.NSError> -> unit
override this.UnblockAccessory : HomeKit.HMAccessory * Action<Foundation.NSError> -> unit

Parametri

accessory
HMAccessory
completion
Action<NSError>

Gestore che restituisce l'esito positivo null o un oggetto di errore in caso di errore.

Attributi

Si applica a