Associates the service type of the plugged-in device with a switch or an outlet service.
- iOS 8.0+
The service type of the device that is hooked up to the switch or outlet.
The block executed after the request is processed.
nilon success; otherwise, error object indicating the reason for failure.