Interface for monitoring the state of an application service. See
Context.bindService() for more information.
Like many callbacks from the system, the methods on this class are called
from the main thread of your process.
(ComponentName name, IBinder service)
Called when a connection to the Service has been established, with
IBinder of the communication channel to the
||The concrete component name of the service that has
||The IBinder of the Service's communication channel,
which you can now make calls on.
Called when a connection to the Service has been lost. This typically
happens when the process hosting the service has crashed or been killed.
This does not remove the ServiceConnection itself -- this
binding to the service will remain active, and you will receive a call
onServiceConnected(ComponentName, IBinder) when the Service is next running.
||The concrete component name of the service whose
connection has been lost.