Contents

services

A list of a peripheral’s discovered services.

Declaration

var services: [CBService]? { get }

Discussion

Returns an array of services (represented by CBService objects) that successful call to the discoverServices(_:) method discovered. If you haven’t yet called the discoverServices(_:) method to discover the services of the peripheral, or if there was an error in doing so, the value of this property is nil.

See Also

Discovering Services