HMService.UpdateAssociatedServiceTypeAsync Method

Definition

Overloads

UpdateAssociatedServiceTypeAsync(HMServiceType)

Asynchronously updates the associated service type to serviceType

UpdateAssociatedServiceTypeAsync(String)

Updates the associated service type to serviceType and runs completion after it has finished.

UpdateAssociatedServiceTypeAsync(HMServiceType)

Asynchronously updates the associated service type to serviceType

public System.Threading.Tasks.Task UpdateAssociatedServiceTypeAsync (HomeKit.HMServiceType serviceType);
member this.UpdateAssociatedServiceTypeAsync : HomeKit.HMServiceType -> System.Threading.Tasks.Task

Parameters

serviceType
HMServiceType

Returns

Task

UpdateAssociatedServiceTypeAsync(String)

Updates the associated service type to serviceType and runs completion after it has finished.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task UpdateAssociatedServiceTypeAsync (string serviceType);
abstract member UpdateAssociatedServiceTypeAsync : string -> System.Threading.Tasks.Task
override this.UpdateAssociatedServiceTypeAsync : string -> System.Threading.Tasks.Task

Parameters

serviceType
String

To be added.This parameter can be .

Returns

Task

A task that represents the asynchronous UpdateAssociatedServiceType operation

Attributes

Remarks

The UpdateAssociatedServiceTypeAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to