setPassword

open fun setPassword(isPassword: Boolean)(source)

Deprecated

Use setPassword directly.

Sets if the source is a password field.

Parameters

isPassword

True if the view is a password field, false otherwise.

Throws

If called from an AccessibilityService.