Are delegates the same thing as callbacks? Or are they related somehow?
The service class has a variable function called a delegate. The calling class has a preferred function that it wants run called a callback.
The calling class sets the delegate to it's callback.
The difference between a delegate and a callback is the perspective: The service class calls the delegate that is set to the calling classes callback.