Added in API level 30

Side

class Side
kotlin.Any
   ↳ android.view.WindowInsets.Side

Class that defines different sides for insets.

Summary

Constants
static Int

static Int

static Int

static Int

Public methods
static Int
all()

Constants

BOTTOM

Added in API level 30
static val BOTTOM: Int
Value: 8

LEFT

Added in API level 30
static val LEFT: Int
Value: 1
Added in API level 30
static val RIGHT: Int
Value: 4

TOP

Added in API level 30
static val TOP: Int
Value: 2

Public methods

all

Added in API level 30
static fun all(): Int
Return
Int all four sides. Value is either 0 or a combination of android.view.WindowInsets.Side#LEFT, android.view.WindowInsets.Side#TOP, android.view.WindowInsets.Side#RIGHT, and android.view.WindowInsets.Side#BOTTOM