The Android Developer Challenge is back! Submit your idea before December 2.

ExecutionCallback

interface ExecutionCallback
androidx.browser.trusted.TrustedWebActivityServiceConnectionManager.ExecutionCallback

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

Summary

Public methods

abstract Unit

Is run when a connection is open.

Public methods

onConnected

abstract fun onConnected(@Nullable service: TrustedWebActivityServiceWrapper?): Unit

Is run when a connection is open. See execute for more information.

Parameters
service TrustedWebActivityServiceWrapper?: A TrustedWebActivityServiceWrapper wrapping the connected TrustedWebActivityService. It may be null if the connection failed.
Exceptions
RemoteException May be thrown by TrustedWebActivityServiceWrapper's methods. If the developer does not want to catch them, they will be caught gracefully by execute.