WindowAreaSessionCallback
@ExperimentalWindowApi
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 functions |
|
|---|---|
Unit |
onSessionEnded(t: Throwable?)Notifies about an end of a |
Unit |
onSessionStarted(session: WindowAreaSession)Notifies about a start of a session. |
Public functions
onSessionEnded
Added in 1.2.0
fun onSessionEnded(t: Throwable?): Unit
Notifies about an end of a WindowAreaSession.
onSessionStarted
Added in 1.2.0
fun onSessionStarted(session: WindowAreaSession): Unit
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.