HMHome.GetServices 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.
Overloads
GetServices(NSString[]) | |
GetServices(HMServiceType) |
Returns services that accessories in the home provide that are of type |
GetServices(NSString[])
[Foundation.Export("servicesWithTypes:")]
public virtual HomeKit.HMService[] GetServices (Foundation.NSString[] serviceTypes);
abstract member GetServices : Foundation.NSString[] -> HomeKit.HMService[]
override this.GetServices : Foundation.NSString[] -> HomeKit.HMService[]
Parameters
- serviceTypes
- NSString[]
Returns
- Attributes
Applies to
GetServices(HMServiceType)
Returns services that accessories in the home provide that are of type serviceTypes
.
public HomeKit.HMService[] GetServices (HomeKit.HMServiceType serviceTypes);
member this.GetServices : HomeKit.HMServiceType -> HomeKit.HMService[]
Parameters
- serviceTypes
- HMServiceType