WindowInsets.Side


public static final class WindowInsets.Side
extends Object

java.lang.Object
   ↳ android.view.WindowInsets.Side


Class that defines different sides for insets.

Summary

Constants

int BOTTOM

int LEFT

int RIGHT

int TOP

Public methods

static int all()

Inherited methods

Constants

BOTTOM

Added in API level 30
public static final int BOTTOM

Constant Value: 8 (0x00000008)

LEFT

Added in API level 30
public static final int LEFT

Constant Value: 1 (0x00000001)

Added in API level 30
public static final int RIGHT

Constant Value: 4 (0x00000004)

TOP

Added in API level 30
public static final int TOP

Constant Value: 2 (0x00000002)

Public methods

all

Added in API level 30
public static int all ()

Returns
int all four sides. Value is either 0 or a combination of LEFT, TOP, RIGHT, and BOTTOM