OnPictureInPictureUiStateChangedProvider
interface OnPictureInPictureUiStateChangedProvider
Interface for components that can dispatch calls from Activity.onPictureInPictureUiStateChanged.
Inheritors
Functions
Link copied to clipboard
abstract fun addOnPictureInPictureUiStateChangedListener(listener: Consumer<PictureInPictureUiStateCompat>)
Add a new listener that will get a callback associated with Activity.onPictureInPictureUiStateChanged with the new PictureInPictureUiStateCompat.
Link copied to clipboard
abstract fun removeOnPictureInPictureUiStateChangedListener(listener: Consumer<PictureInPictureUiStateCompat>)
Remove a previously added listener. It will not receive any future callbacks.