Condividi tramite


HMHome.RemoveUser(HMUser, Action<NSError>) Metodo

Definizione

Rimuove l'utente specificato da userID dalla home page e viene eseguito completion al termine dell'operazione.

[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

Parametri

user
HMUser
completion
Action<NSError>

Gestore che restituisce null l'esito positivo o un oggetto errore in caso di errore.

Attributi

Si applica a