onServiceConnected

public Unit onServiceConnected(ComponentName name, IBinder iBinder)

Sets what happens if the service connects

Parameters

name

Name of the service

iBinder

Binder for the service