Edytuj

Udostępnij za pośrednictwem


HMHome.RemoveUserAsync(HMUser) Method

Definition

Removes the user who is specified by userID from the home and runs completion after it has finished.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "This API in now prohibited on iOS. Use 'ManageUsers' instead.")]
[ObjCRuntime.NoTV]
[ObjCRuntime.NoWatch]
[ObjCRuntime.Obsoleted(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, "This API in now prohibited on iOS. Use 'ManageUsers' instead.")]
public virtual System.Threading.Tasks.Task RemoveUserAsync (HomeKit.HMUser user);
abstract member RemoveUserAsync : HomeKit.HMUser -> System.Threading.Tasks.Task
override this.RemoveUserAsync : HomeKit.HMUser -> System.Threading.Tasks.Task

Parameters

user
HMUser

Returns

A task that represents the asynchronous RemoveUser operation

Attributes

Applies to