WindowAreaSessionCallback
@ExperimentalWindowApi
public interface WindowAreaSessionCallback
Callback to update the client on the WindowArea Session being started and ended.
TODO(b/207720511) Move to window-java module when Kotlin API Finalized
Summary
Public methods |
|
|---|---|
abstract void |
Notifies about an end of a |
abstract void |
onSessionStarted(@NonNull WindowAreaSession session)Notifies about a start of a session. |
Public methods
onSessionEnded
Added in 1.2.0
abstract void onSessionEnded(Throwable t)
Notifies about an end of a WindowAreaSession.
onSessionStarted
Added in 1.2.0
abstract void onSessionStarted(@NonNull WindowAreaSession session)
Notifies about a start of a session. Provides a reference to the current WindowAreaSession the application the ability to close the session through WindowAreaSession.close.