getMaximumLength() method

This retrieves the maximum number of characters that the edit text field will allow upon field validation.

Syntax

public int getMaximumLength ()

Returns

the maximum number of characters to enter