HMHome.AddZoneAsync(String) Metodo

Definizione

Aggiunge un oggetto nessuno denominato zoneName alla home page e viene eseguito completionHandler dopo l'aggiunta.

[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.HMZone> AddZoneAsync (string zoneName);
abstract member AddZoneAsync : string -> System.Threading.Tasks.Task<HomeKit.HMZone>
override this.AddZoneAsync : string -> System.Threading.Tasks.Task<HomeKit.HMZone>

Parametri

zoneName
String

Restituisce

Attività che rappresenta l'operazione AddZone asincrona. Il valore del parametro TResult è di tipo System.Action<HomeKit.HMZone,Foundation.NSError>.

Attributi

Si applica a