HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

Node.js SDK

Home > @rainway/native

native package

Classes

ClassDescription
BaseEventThe base event type.
BaseRequestEventThe base request event type.
CloseEvent_2An event that occurs when something is closed.
DataChannelA data channel from our device to another Peer on the Rainway Network.
DataChannelEventAn event that occurs when a DataChannel is created.
EventEmitterEvent emitter
GamepadReportAn input report describing gamepad input.
GamepadRumbleAn input report describing gamepad rumble.
InputBodyThe body of an input event.
InputEvent_2An event that occurs when input arrives for a given OutboundStream. Can be used to prevent input event processing, preventing the host from handling the input.
KeyboardInputAn input report describing keyboard input.
LogBodyThe body of a log.
LogEventAn event that occurs when the RainwaySDK logs data.
LogicalInputAn input report describing logical input.
MessageEventRequestAn event that occurs when a DataChannel gets a message that expects a response.
MessageEventStandaloneAn event that occurs when a DataChannel gets a message that does not expect a response.
MouseAbsoluteAn input report describing absolute mouse position input.
MouseClickAn input report describing mouse click input.
MouseRelativeAn input report describing relative mouse position input.
MouseScrollAn input report describing mouse scroll input.
OutboundStreamAn outbound stream from our device to another Peer on the Rainway Network.
PeerAn object representing a connection to a remote Rainway peer.
PeerJoinEventAn event that occurs when a Peer joins a OutboundStream.
PeerLeaveEventAn event that occurs when a Peer leaves a OutboundStream.
PeerRequestEventAn event that occurs when a remote peer requests to connect.
PeerStateChangeEventAn event that occurs when a Peer changes RainwayPeerState.
PenAbsoluteAn input report describing absolute positioned pen input.
PointerInfoInformation about a pointer.
RainwayConnectionA connection to the Rainway network over which peer connection requests are transmitted.
RainwaySDKThe Rainway SDK
SetClipboardTextAn input report describing clipboard text changes.
StreamRequestEventAn event that occurs when a remote peer requests an OutboundStream.
Touch_2Information about touch.
TouchesAbsoluteAn input report describing absolute positioned touch input.
ViewportResizeAn input report describing viewport resize changes.

Enumerations

Interfaces

Variables

Type Aliases