Edit

Share via


HMService.UpdateName(String, Action<NSError>) Method

Definition

Updates the name of the service to name and runs completion after it has finished.

[Foundation.Export("updateName:completionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void UpdateName (string name, Action<Foundation.NSError> completion);
abstract member UpdateName : string * Action<Foundation.NSError> -> unit
override this.UpdateName : string * Action<Foundation.NSError> -> unit

Parameters

name
String
completion
Action<NSError>

A handler that returns null on success, or an error object on failure.

Attributes

Applies to