Compartir a través de


HMHome.UnblockAccessory(HMAccessory, Action<NSError>) Método

Definición

accessory Desbloquea desde el hogar y se ejecuta completion después de que haya terminado.

[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

Parámetros

accessory
HMAccessory
completion
Action<NSError>

Controlador que devuelve null correcto o un objeto de error en caso de error.

Atributos

Se aplica a