MCPcopy Index your code
hub / github.com/callstack/agent-device / bindSystemCommands

Function bindSystemCommands

src/commands/system/runtime/index.ts:68–79  ·  view source on GitHub ↗
(runtime: AgentDeviceRuntime)

Source from the content-addressed store, hash-verified

66};
67
68export function bindSystemCommands(runtime: AgentDeviceRuntime): BoundSystemCommands {
69 return {
70 back: (options) => systemCommands.back(runtime, options),
71 home: (options) => systemCommands.home(runtime, options),
72 rotate: (options) => systemCommands.rotate(runtime, options),
73 keyboard: (options) => systemCommands.keyboard(runtime, options),
74 clipboard: (options) => systemCommands.clipboard(runtime, options),
75 settings: (options) => systemCommands.settings(runtime, options),
76 alert: (options) => systemCommands.alert(runtime, options),
77 appSwitcher: (options) => systemCommands.appSwitcher(runtime, options),
78 };
79}

Callers 1

bindCommandsFunction · 0.90

Calls 4

homeMethod · 0.80
rotateMethod · 0.80
appSwitcherMethod · 0.80
backMethod · 0.45

Tested by

no test coverage detected