google-genai
Toggle table of contents
JVM
Platform filter
JVM
Switch theme
Search in API
google-genai
google-genai
/
com.google.genai.interactions.services.blocking
/
InteractionService
/
cancel
cancel
public
Interaction
cancel
(
String
id
)
Cancels an interaction by id. This only applies to background interactions that are still running.
public
Interaction
cancel
(
String
id
,
InteractionCancelParams
params
,
RequestOptions
requestOptions
)
public
Interaction
cancel
(
String
id
,
InteractionCancelParams
params
)
public
abstract
Interaction
cancel
(
InteractionCancelParams
params
,
RequestOptions
requestOptions
)
public
Interaction
cancel
(
InteractionCancelParams
params
)
public
Interaction
cancel
(
String
id
,
RequestOptions
requestOptions
)
See also
Interaction
Service.
cancel