Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

CustomTabsServiceConnection

public abstract class CustomTabsServiceConnection
extends Object implements ServiceConnection

java.lang.Object
   ↳ androidx.browser.customtabs.CustomTabsServiceConnection


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

CustomTabsServiceConnection()

Public methods

abstract void onCustomTabsServiceConnected(ComponentName name, CustomTabsClient client)

Called when a connection to the CustomTabsService has been established.

final void onServiceConnected(ComponentName name, IBinder service)

Inherited methods

Public constructors

CustomTabsServiceConnection

public CustomTabsServiceConnection ()

Public methods

onCustomTabsServiceConnected

public abstract void onCustomTabsServiceConnected (ComponentName name, 
                CustomTabsClient client)

Called when a connection to the CustomTabsService has been established.

Parameters
name ComponentName: The concrete component name of the service that has been connected.

client CustomTabsClient: CustomTabsClient that contains the IBinder with which the connection have been established. All further communication should be initiated using this client.

onServiceConnected

public final void onServiceConnected (ComponentName name, 
                IBinder service)

Parameters
name ComponentName

service IBinder