HMHome.GetServices Method

Definition

Overloads

GetServices(NSString[])
GetServices(HMServiceType)

Returns services that accessories in the home provide that are of type serviceTypes.

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

Returns

Applies to