SystemUiHost
abstract class SystemUiHost(systemUiHostContext: SystemUiHostContext) : OnBackPressedConsumer
Content copied to clipboard
A host for the system UI. Implementations of this class are responsible for providing the system UI view and the Frontends within them.
May be used by an activity and other components capable of displaying the system UI, like a VirtualDisplay.
Must be overridden to provide a layout for the system UI.
Parameters
systemUiHostContext
The data class that encloses all the arguments needed for the class to function.
Constructors
Types
Link copied to clipboard
class BindingViewFactory<B : ViewDataBinding>(inflateFunction: (LayoutInflater) -> B, bindDataFunction: (B) -> Unit) : SystemUiHost.ViewFactory
Content copied to clipboard
A factory for a data-bound main view to be shown within the system UI which that takes care of common tasks around inflation and binding a lifecycle owner.
Link copied to clipboard
A factory for the main view to be shown within the system UI.
Properties
Link copied to clipboard
The entry point for soft input functionality. Not available before onCreate.