편집

다음을 통해 공유


HMHome.AddUserAsync Method

Definition

Developers should not use this deprecated method.

[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 System.Threading.Tasks.Task<HomeKit.HMUser> AddUserAsync ();
abstract member AddUserAsync : unit -> System.Threading.Tasks.Task<HomeKit.HMUser>
override this.AddUserAsync : unit -> System.Threading.Tasks.Task<HomeKit.HMUser>

Returns

A task that represents the asynchronous AddUser operation. The value of the TResult parameter is of type System.Action<HomeKit.HMUser,Foundation.NSError>.

Attributes

Applies to