|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.badlogic.gdx.backends.android.AndroidNet
public class AndroidNet
Android implementation of the Net API.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.badlogic.gdx.Net |
|---|
Net.HttpMethods, Net.HttpRequest, Net.HttpResponse, Net.HttpResponseListener, Net.Protocol |
| Constructor Summary | |
|---|---|
AndroidNet(AndroidApplication activity)
|
|
| Method Summary | |
|---|---|
Socket |
newClientSocket(Net.Protocol protocol,
String host,
int port,
SocketHints hints)
|
ServerSocket |
newServerSocket(Net.Protocol protocol,
int port,
ServerSocketHints hints)
|
void |
openURI(String URI)
|
void |
sendHttpRequest(Net.HttpRequest httpRequest,
Net.HttpResponseListener httpResponseListener)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AndroidNet(AndroidApplication activity)
| Method Detail |
|---|
public void sendHttpRequest(Net.HttpRequest httpRequest,
Net.HttpResponseListener httpResponseListener)
sendHttpRequest in interface Net
public ServerSocket newServerSocket(Net.Protocol protocol,
int port,
ServerSocketHints hints)
newServerSocket in interface Net
public Socket newClientSocket(Net.Protocol protocol,
String host,
int port,
SocketHints hints)
newClientSocket in interface Netpublic void openURI(String URI)
openURI in interface Net
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||