Skip to content

AndroidToggleButton

Android ToggleButton.

Extends AndroidObject

Behavior Pattern: AndroidObjectCheckableBehavior

Property Summary

Property Description Getter Setter
Checked Check state of the button. GetChecked SetChecked

Action Summary

Action Description
DoSetCheck Sets check state of the object.

Property Detail

Checked

Check state of the button. 'true' if the button is checked, 'false' otherwise.

Type: boolean

Accessors: GetChecked, SetChecked

value = SeS('SomeAndroidToggleButton').GetChecked()

SeS('SomeAndroidToggleButton').SetChecked(value)

Action Detail

DoSetCheck

Sets check state of the object.

SeS('SomeAndroidToggleButton').DoSetCheck(bcheck)

Parameters:

Name Type Description
bcheck boolean Desired check state for the item.

Returns:

boolean: 'true' if success, 'false' otherwise.