HMHome.AddUser(Action<HMUser,NSError>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Developers should not use this deprecated method.
[Foundation.Export("addUserWithCompletionHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'ManageUsers' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'ManageUsers' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddUser (Action<HomeKit.HMUser,Foundation.NSError> completion);
abstract member AddUser : Action<HomeKit.HMUser, Foundation.NSError> -> unit
override this.AddUser : Action<HomeKit.HMUser, Foundation.NSError> -> unit
Parameters
A handler that returns null
on success, or an error object on failure.
- Attributes