hasAction() method

Returns whether or not there is an action tied to the button.

Syntax

public boolean hasAction ()

Returns

true if action is supported, false if action is not supported