HMHome.AddServiceGroupAsync(String) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Adiciona um grupo de serviços chamado serviceGroupName
à página inicial e é executado completion
depois que ele é adicionado.
[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.HMServiceGroup> AddServiceGroupAsync (string serviceGroupName);
abstract member AddServiceGroupAsync : string -> System.Threading.Tasks.Task<HomeKit.HMServiceGroup>
override this.AddServiceGroupAsync : string -> System.Threading.Tasks.Task<HomeKit.HMServiceGroup>
Parâmetros
- serviceGroupName
- String
Retornos
Uma tarefa que representa a operação assíncrona AddServiceGroup. O valor do parâmetro TResult é do tipo System.Action<HomeKit.HMServiceGroup,Foundation.NSError>.
- Atributos