- Preparing search index...
- The search index is not available
biorate
Methods
addListener
- addListener(event, listener): AndroidSocket
-
Parameters
-
event: "close"
-
listener: (() => any)
- addListener(event, listener): AndroidSocket
-
Parameters
-
event: "data"
-
listener: ((buffer) => any)
-
- (buffer): any
-
Returns any
close
- close(): Promise<void>
-
Returns Promise<void>
off
- off(event, listener): AndroidSocket
-
Parameters
-
event: "close"
-
listener: (() => any)
- off(event, listener): AndroidSocket
-
Parameters
-
event: "data"
-
listener: ((buffer) => any)
-
- (buffer): any
-
Returns any
on
- on(event, listener): AndroidSocket
-
Parameters
-
event: "close"
-
listener: (() => any)
- on(event, listener): AndroidSocket
-
Parameters
-
event: "data"
-
listener: ((buffer) => any)
-
- (buffer): any
-
Returns any
once
- once(event, listener): AndroidSocket
-
Parameters
-
event: "close"
-
listener: (() => any)
- once(event, listener): AndroidSocket
-
Parameters
-
event: "data"
-
listener: ((buffer) => any)
-
- (buffer): any
-
Returns any
prependListener
- prependListener(event, listener): AndroidSocket
-
Parameters
-
event: "close"
-
listener: (() => any)
- prependListener(event, listener): AndroidSocket
-
Parameters
-
event: "data"
-
listener: ((buffer) => any)
-
- (buffer): any
-
Returns any
removeListener
- removeListener(event, listener): AndroidSocket
-
Parameters
-
event: "close"
-
listener: (() => any)
- removeListener(event, listener): AndroidSocket
-
Parameters
-
event: "data"
-
listener: ((buffer) => any)
-
- (buffer): any
-
Returns any
write
- write(data): Promise<void>
-
Returns Promise<void>
AndroidSocket is a way to communicate with a process launched on the AndroidDevice. Use androidDevice.open(command) to open a socket.