Node.js SDK

Home > rainway-sdk-native

rainway-sdk-native package

Classes

ClassDescription
PeerA Rainway Peer which is connected to us. These are cached statically and will be automatically cleaned up on disconnect.
RainwayErrorAn error thrown by the runtime. Check the logs also for more information. Any returned error *should* be accompanied by an Error level log.
Runtime

Enumerations

Functions

FunctionDescription
fmtLogLevel(lv)Format the log level to a capitalized string such as "Warn" or "Error".

Interfaces

InterfaceDescription
ConnectionRequest
ConnectionRequestEvent
FilePaths
IGamepadReportA request to bring the remote virtual gamepad with ID "slot" into the state described.
ILogicalInputA request to perform a remote text insertion (as if pasting some Unicode text). This is independent of keyboard layout.
IMouseAbsoluteA request to move the remote mouse to an absolute pixel coordinate on the streamed monitor.
IMouseClickA request to click a button on the remote mouse.
IMouseRelativeA request to move the remote mouse by (dx, dy) pixels.
IMouseScrollA request to scroll the remote mouse.
IPenAbsoluteA request to perform a remote absolute pen movement. https://docs.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-pointer\_pen\_info
ISetClipboardTextA request to store some text in the other peer's clipboard.
ITouchAbsolute
ITouchesAbsoluteA request to perform a remote absolute touch movement. https://docs.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-pointer\_touch\_info
ITouchPenPointerInfoInformation common to touch and pen events. This is a subset of: https://docs.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-pointer\_info
IViewportResizeA request to resize the streamed application, because the local stream viewport size has changed. Currently this request will be carried out in App Isolation, when one window is isolated. Otherwise it is ignored.
PeerInformation
RainwayAudioSubmission
RuntimeCallbacksRegister callbacks
RuntimeConfigRuntime configuration for initialization.
StreamConfig
StreamRequest
StreamRequestEvent

Type Aliases