次の方法で共有


HMServiceGroup.RemoveService(HMService, Action<NSError>) メソッド

定義

サービス グループからを削除 service し、完了後に実行します completion

[Foundation.Export("removeService:completionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RemoveService (HomeKit.HMService service, Action<Foundation.NSError> completion);
abstract member RemoveService : HomeKit.HMService * Action<Foundation.NSError> -> unit
override this.RemoveService : HomeKit.HMService * Action<Foundation.NSError> -> unit

パラメーター

service
HMService
completion
Action<NSError>

成功した場合は を返す null ハンドラー、または失敗した場合はエラー オブジェクト。

属性

適用対象