HMEvent.IsSupported(HMHome) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true
if this event can be added to a trigger on the specified home
.
[Foundation.Export("isSupportedForHome:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool IsSupported (HomeKit.HMHome home);
static member IsSupported : HomeKit.HMHome -> bool
Parameters
- home
- HMHome
The HomeKit home to check.
Returns
- Attributes