TrustedWebActivityServiceConnectionManager.ExecutionCallback

public static interface TrustedWebActivityServiceConnectionManager.ExecutionCallback

androidx.browser.trusted.TrustedWebActivityServiceConnectionManager.ExecutionCallback


A callback to be executed once a connection to a TrustedWebActivityService is open.

Summary

Public methods

abstract void onConnected(TrustedWebActivityServiceWrapper service)

Is run when a connection is open.

Public methods

onConnected

public abstract void onConnected (TrustedWebActivityServiceWrapper service)

Is run when a connection is open. See TrustedWebActivityServiceConnectionManager.execute(Uri, String, TrustedWebActivityServiceConnectionManager.ExecutionCallback) for more information.

Parameters
service TrustedWebActivityServiceWrapper: A TrustedWebActivityServiceWrapper wrapping the connected TrustedWebActivityService. It may be null if the connection failed.

Throws
RemoteException May be thrown by TrustedWebActivityServiceWrapper's methods. If the developer does not want to catch them, they will be caught gracefully by TrustedWebActivityServiceConnectionManager.execute(Uri, String, TrustedWebActivityServiceConnectionManager.ExecutionCallback).