Package | Description |
---|---|
com.google.api.services.chat.v1.model |
Modifier and Type | Method and Description |
---|---|
GoogleAppsCardV1SwitchControl |
GoogleAppsCardV1SwitchControl.clone() |
GoogleAppsCardV1SwitchControl |
GoogleAppsCardV1DecoratedText.getSwitchControl()
A switch widget can be clicked to change its state or trigger an action.
|
GoogleAppsCardV1SwitchControl |
GoogleAppsCardV1SwitchControl.set(String fieldName,
Object value) |
GoogleAppsCardV1SwitchControl |
GoogleAppsCardV1SwitchControl.setControlType(String controlType)
The control type, either switch or checkbox.
|
GoogleAppsCardV1SwitchControl |
GoogleAppsCardV1SwitchControl.setName(String name)
The name of the switch widget that's used in formInput.
|
GoogleAppsCardV1SwitchControl |
GoogleAppsCardV1SwitchControl.setOnChangeAction(GoogleAppsCardV1Action onChangeAction)
The action when the switch state is changed.
|
GoogleAppsCardV1SwitchControl |
GoogleAppsCardV1SwitchControl.setSelected(Boolean selected)
If the switch is selected.
|
GoogleAppsCardV1SwitchControl |
GoogleAppsCardV1SwitchControl.setValue(String value)
The value is what is passed back in the callback.
|
Modifier and Type | Method and Description |
---|---|
GoogleAppsCardV1DecoratedText |
GoogleAppsCardV1DecoratedText.setSwitchControl(GoogleAppsCardV1SwitchControl switchControl)
A switch widget can be clicked to change its state or trigger an action.
|
Copyright © 2011–2021 Google. All rights reserved.