Added in API level 30
CommandAction
class CommandAction : ControlAction
kotlin.Any | ||
↳ | android.service.controls.actions.ControlAction | |
↳ | android.service.controls.actions.CommandAction |
A simple ControlAction
indicating that the user has interacted with a Control
created using a StatelessTemplate
.
Summary
Inherited constants | |
---|---|
Public constructors | |
---|---|
CommandAction(templateId: String) |
|
CommandAction(templateId: String, challengeValue: String?) |
Public methods | |
---|---|
Int |
Inherited functions | |
---|---|
Public constructors
CommandAction
Added in API level 30
CommandAction(templateId: String)
Parameters | |
---|---|
templateId |
String: the identifier of the StatelessTemplate that originated this action. This value cannot be null . |
CommandAction
Added in API level 30
CommandAction(
templateId: String,
challengeValue: String?)
Parameters | |
---|---|
templateId |
String: the identifier of the StatelessTemplate that originated this action. This value cannot be null . |
challengeValue |
String?: a value sent by the user along with the action to authenticate. null is sent when no authentication is needed or has not been requested. |