次の方法で共有


HMHome.RemoveServiceGroup(HMServiceGroup, Action<NSError>) メソッド

定義

ホームからを削除 group し、完了後に実行します completion

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

パラメーター

completion
Action<NSError>

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

属性

適用対象