HMHome.RemoveUser(HMUser, Action<NSError>) 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 void RemoveUser (HomeKit.HMUser user, Action<Foundation.NSError> completion);
abstract member RemoveUser : HomeKit.HMUser * Action<Foundation.NSError> -> unit
override this.RemoveUser : HomeKit.HMUser * Action<Foundation.NSError> -> unit

Parameters

user
HMUser
completion
Action<NSError>

A handler that returns null on success, or an error object on failure.

Attributes

Applies to