Share via


HMHome.RemoveAccessoryAsync(HMAccessory) Method

Definition

Asynchronously removes accessory from the home.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task RemoveAccessoryAsync(HomeKit.HMAccessory accessory);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RemoveAccessoryAsync : HomeKit.HMAccessory -> System.Threading.Tasks.Task
override this.RemoveAccessoryAsync : HomeKit.HMAccessory -> System.Threading.Tasks.Task

Parameters

accessory
HMAccessory

Returns

A task that represents the asynchronous RemoveAccessory operation

Attributes

Applies to