接口: ProviderConnectionShellAccessSession
与 Shell 会话交互的回调
属性
onData
onData:
Event
<ProviderConnectionShellAccessData
>
定义在
packages/extension-api/src/extension-api.d.ts:840
onEnd
onEnd:
Event
<void
>
定义在
packages/extension-api/src/extension-api.d.ts:842
onError
onError:
Event
<ProviderConnectionShellAccessError
>
定义在
packages/extension-api/src/extension-api.d.ts:841
方法
close()
close():
void
返回
void
定义在
packages/extension-api/src/extension-api.d.ts:845
resize()
resize(
dimensions
):void
参数
• dimensions: ProviderConnectionShellDimensions
返回
void
定义在
packages/extension-api/src/extension-api.d.ts:844
write()
write(
data
):void
参数
• data: string
| Uint8Array
返回
void