HMHome.RemoveUser(HMUser, Action<NSError>) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从主目录中删除由 userID
指定的用户,并在完成后运行 completion
。
[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
参数
- user
- HMUser
- 属性