CustomTabsServiceConnection
public abstract class CustomTabsServiceConnection implements ServiceConnection
Abstract ServiceConnection to use while binding to a CustomTabsService. Any client implementing this is responsible for handling changes related with the lifetime of the connection like rebinding on disconnect.
Summary
Public constructors |
|---|
Public methods |
|
|---|---|
abstract void |
onCustomTabsServiceConnected(Called when a connection to the |
final void |
onServiceConnected(@NonNull ComponentName name, @NonNull IBinder service) |
Inherited methods |
||||||
|---|---|---|---|---|---|---|
|
Public constructors
Public methods
onCustomTabsServiceConnected
public abstract void onCustomTabsServiceConnected(
@NonNull ComponentName name,
@NonNull CustomTabsClient client
)
Called when a connection to the CustomTabsService has been established.
| Parameters | |
|---|---|
@NonNull ComponentName name |
The concrete component name of the service that has been connected. |
@NonNull CustomTabsClient client |
|
onServiceConnected
public final void onServiceConnected(@NonNull ComponentName name, @NonNull IBinder service)