* Handles an autoModeSwitch.request callback from the runtime. * @internal
(
request: AutoModeSwitchRequest
)
| 979 | * @internal |
| 980 | */ |
| 981 | async _handleAutoModeSwitchRequest( |
| 982 | request: AutoModeSwitchRequest |
| 983 | ): Promise<AutoModeSwitchResponse> { |
| 984 | if (!this.autoModeSwitchHandler) { |
| 985 | return "no"; |
| 986 | } |
| 987 | |
| 988 | return await this.autoModeSwitchHandler(request, { sessionId: this.sessionId }); |
| 989 | } |
| 990 | |
| 991 | /** |
| 992 | * Sets the host capabilities for this session. |
no outgoing calls
no test coverage detected