ServiceObserver
public protocol ServiceObserver : AnyObject
A protocol allowing conforming objects to monitor the services changes of a connected peripheral.
-
Called whenever a peripheral’s services change.
Declaration
Swift
func didModifyServices(from peripheral: PeripheralIdentifier, invalidatedServices: [ServiceIdentifier])Parameters
fromthe peripheral that changed services.
invalidatedServicesthe services invalidated.
View on GitHub
ServiceObserver Protocol Reference