public interface ButtonController extends AccessibilityListener
Modifier and Type | Method and Description |
---|---|
android.widget.Button |
getButton()
Obtains the managed button from the controller.
|
EventEmitter |
getEventEmitter()
Obtains the event emitter used to set up the controllers SDK event handling.
|
int |
getId()
Obtains the Android resource id for the button being controlled.
|
int |
getManagedState()
Obtains the managed state information.
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Obtains a set of property values (name/value pairs) to emit as
an optional part of handling a button action.
|
java.util.List<ButtonState> |
getStateList()
Obtain the list of button states for the button being controlled.
|
int |
getVisibilityState()
Obtains the visibility state maintained for the button.
|
void |
removeListeners()
Removes any listeners set up by this button controller.
|
void |
syncStates()
Ensures that the controlled button is in sync with the managed state it represents.
|
onAccessibilityStateChanged
int getManagedState()
int getVisibilityState()
android.widget.Button getButton()
int getId()
java.util.List<ButtonState> getStateList()
java.util.Map<java.lang.String,java.lang.Object> getProperties()
EventEmitter getEventEmitter()
void removeListeners()
void syncStates()