cgutman/AdbLib

Javadoc Help

MlgmXyysd opened this issue · 0 comments

public AdbStream open(java.lang.String destination)
               throws java.io.UnsupportedEncodingException,
                      java.io.IOException,
                      java.lang.InterruptedException
Opens an AdbStream object corresponding to the specified destination. This routine will block until the connection completes.
Parameters:
               destination - The destination to open on the target
Returns:
               AdbStream object corresponding to the specified destination
Throws:
               java.io.UnsupportedEncodingException - If the destination cannot be encoded to UTF-8
               java.io.IOException - If the stream fails while sending the packet
               java.lang.InterruptedException - If we are unable to wait for the connection to finish

for the parameter destination
There is no indication of what can be filled in.
I only tested "shell:" or "reboot:"
If have other destinations, please tell me