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
from
the peripheral that changed services.
invalidatedServices
the services invalidated.