-
- All Implemented Interfaces:
-
android.content.ServiceConnection
public class ServiceConnection extends CustomTabsServiceConnection
Implementation for the CustomTabsServiceConnection that avoids leaking the ServiceConnectionCallback
-
-
Constructor Summary
Constructors Constructor Description ServiceConnection(ServiceConnectionCallback connectionCallback)
-
Method Summary
Modifier and Type Method Description voidonCustomTabsServiceConnected(ComponentName name, CustomTabsClient client)voidonServiceDisconnected(ComponentName name)-
Methods inherited from class androidx.browser.customtabs.CustomTabsServiceConnection
onCustomTabsServiceConnected, onServiceConnected -
Methods inherited from class android.content.ServiceConnection
onBindingDied, onNullBinding, onServiceDisconnected -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ServiceConnection
ServiceConnection(ServiceConnectionCallback connectionCallback)
-
-
Method Detail
-
onCustomTabsServiceConnected
void onCustomTabsServiceConnected(ComponentName name, CustomTabsClient client)
-
onServiceDisconnected
void onServiceDisconnected(ComponentName name)
-
-
-
-