WindowInsetsCompat.Type

public final class WindowInsetsCompat.Type


Class that defines different types of sources causing window insets.

Summary

Public constructors

Public constructors

Type

public final Type()

Public methods

captionBar

@WindowInsetsCompat.Type.InsetsType
public static int captionBar()
Returns
int

An insets type representing the window of a caption bar.

displayCutout

@WindowInsetsCompat.Type.InsetsType
public static int displayCutout()

Returns an insets type representing the area that used by DisplayCutoutCompat.

This is equivalent to the safe insets on getDisplayCutout.

ime

@WindowInsetsCompat.Type.InsetsType
public static int ime()
Returns
int

An insets type representing the window of an InputMethod.