getAlpha

@FloatRange(from = 0.0, to = 1.0)
open fun getAlpha(): Float(source)

Gets the opacity of the protection. This is a value from 0 to 1, where 0 means the protection is completely transparent and 1 means the protection is completely opaque.

Return

The opacity of the protection.