Package | Description |
---|---|
com.google.api.services.chat.v1.model |
Modifier and Type | Method and Description |
---|---|
GoogleAppsCardV1SwitchControl |
GoogleAppsCardV1SwitchControl.clone() |
GoogleAppsCardV1SwitchControl |
GoogleAppsCardV1DecoratedText.getSwitchControl()
A switch widget that a user can click to change its state and trigger an action.
|
GoogleAppsCardV1SwitchControl |
GoogleAppsCardV1SwitchControl.set(String fieldName,
Object value) |
GoogleAppsCardV1SwitchControl |
GoogleAppsCardV1SwitchControl.setControlType(String controlType)
How the switch appears in the user interface.
|
GoogleAppsCardV1SwitchControl |
GoogleAppsCardV1SwitchControl.setName(String name)
The name by which the switch widget is identified in a form input event.
|
GoogleAppsCardV1SwitchControl |
GoogleAppsCardV1SwitchControl.setOnChangeAction(GoogleAppsCardV1Action onChangeAction)
The action to perform when the switch state is changed, such as what function to run.
|
GoogleAppsCardV1SwitchControl |
GoogleAppsCardV1SwitchControl.setSelected(Boolean selected)
When `true`, the switch is selected.
|
GoogleAppsCardV1SwitchControl |
GoogleAppsCardV1SwitchControl.setValue(String value)
The value entered by a user, returned as part of a form input event.
|
Modifier and Type | Method and Description |
---|---|
GoogleAppsCardV1DecoratedText |
GoogleAppsCardV1DecoratedText.setSwitchControl(GoogleAppsCardV1SwitchControl switchControl)
A switch widget that a user can click to change its state and trigger an action.
|
Copyright © 2011–2024 Google. All rights reserved.