Compartilhar via


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

Definição

Desbloqueia accessory da página inicial e é executado completion após a conclusão.

[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>

Um manipulador que retorna null com êxito ou um objeto de erro em caso de falha.

Atributos

Aplica-se a