public class AndroidNet
extends java.lang.Object
implements com.badlogic.gdx.Net
Net API.| Constructor and Description |
|---|
AndroidNet(AndroidApplicationBase app,
AndroidApplicationConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelHttpRequest(com.badlogic.gdx.Net.HttpRequest httpRequest) |
com.badlogic.gdx.net.Socket |
newClientSocket(com.badlogic.gdx.Net.Protocol protocol,
java.lang.String host,
int port,
com.badlogic.gdx.net.SocketHints hints) |
com.badlogic.gdx.net.ServerSocket |
newServerSocket(com.badlogic.gdx.Net.Protocol protocol,
int port,
com.badlogic.gdx.net.ServerSocketHints hints) |
com.badlogic.gdx.net.ServerSocket |
newServerSocket(com.badlogic.gdx.Net.Protocol protocol,
java.lang.String hostname,
int port,
com.badlogic.gdx.net.ServerSocketHints hints) |
boolean |
openURI(java.lang.String URI) |
void |
sendHttpRequest(com.badlogic.gdx.Net.HttpRequest httpRequest,
com.badlogic.gdx.Net.HttpResponseListener httpResponseListener) |
public AndroidNet(AndroidApplicationBase app, AndroidApplicationConfiguration configuration)
public void sendHttpRequest(com.badlogic.gdx.Net.HttpRequest httpRequest,
com.badlogic.gdx.Net.HttpResponseListener httpResponseListener)
sendHttpRequest in interface com.badlogic.gdx.Netpublic void cancelHttpRequest(com.badlogic.gdx.Net.HttpRequest httpRequest)
cancelHttpRequest in interface com.badlogic.gdx.Netpublic com.badlogic.gdx.net.ServerSocket newServerSocket(com.badlogic.gdx.Net.Protocol protocol,
java.lang.String hostname,
int port,
com.badlogic.gdx.net.ServerSocketHints hints)
newServerSocket in interface com.badlogic.gdx.Netpublic com.badlogic.gdx.net.ServerSocket newServerSocket(com.badlogic.gdx.Net.Protocol protocol,
int port,
com.badlogic.gdx.net.ServerSocketHints hints)
newServerSocket in interface com.badlogic.gdx.Netpublic com.badlogic.gdx.net.Socket newClientSocket(com.badlogic.gdx.Net.Protocol protocol,
java.lang.String host,
int port,
com.badlogic.gdx.net.SocketHints hints)
newClientSocket in interface com.badlogic.gdx.Netpublic boolean openURI(java.lang.String URI)
openURI in interface com.badlogic.gdx.Net