ColorProtection

A type of protection which draws the plain color.

Constructors

Link copied to clipboard
constructor(side: Int)
Creates an instance associated with a WindowInsetsCompat.Side.
constructor(side: Int, @ColorInt color: Int)
Creates an instance associated with a WindowInsetsCompat.Side.

Functions

Link copied to clipboard
open fun getColor(): Int
Gets the color associated with this protection.
Link copied to clipboard
open fun setColor(@ColorInt color: Int)
Sets the color to the protection.